Skip to main content

Bug Tracker

Side navigation

#13969 closed bug (worksforme)

Opened May 31, 2013 08:06AM UTC

Closed May 31, 2013 01:14PM UTC

Last modified June 06, 2013 03:19AM UTC

Issue processing XML responses: Mismatched tag. Expected: </input>.

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.10.0
Keywords: Cc:
Blocked by: Blocking:

From jquery 1.10.0 and 2.0.1, I have detected an issue that display the follow error in the firefox console:

  • Mismatched tag. Expected: </input>.

With the latest release 1.10.1 and 2.0.2 too exist the problem.

I prepared a simple unit test that allow you to see the issue:

Attachments (0)
Change History (11)

Changed May 31, 2013 01:14PM UTC by dmethvin comment:1

resolution: → worksforme
status: newclosed

I don't get that. Firefox 21.0. Please ask for help on a forum.

Changed June 02, 2013 09:40PM UTC by anonymous comment:2

I don't get that too!!!

I Use firefox (21.0 and nightly) and jQuery 1.9.1 runs ok without showing error messages and only when upgrading to 1.10.0, begin to appear the commented error message.

This is the reason that I create the new issue.

If I have time, I will search the problem into your jquery code and I will explain more detailed the issue.


Changed June 03, 2013 01:20PM UTC by comment:3

I'm seeing this behavior too. Just checking the script input from 1.8.6 to 1.10.1 starts to produce this error in Firefox. Odd thing is that I cannot see it anywhere in the generated code, so I'm not sure where firefox is picking it up from.

Changed June 03, 2013 01:55PM UTC by dmethvin comment:4

Run Firefox without plugins. I am not seeing any problem.

Changed June 03, 2013 06:32PM UTC by comment:5

I have tested using firefox --safe-mode and the error continues appearing.

Changed June 03, 2013 06:40PM UTC by dmethvin comment:6

This could go on for a while unless someone who is seeing the issue (which means not us) can give more information. For example, does it provide a line number and file name?

Changed June 03, 2013 07:02PM UTC by comment:7

I am also receiving this error. There is no line number or file given when the error appears. However, I have found that it is being caused by line 1407 in jquery-2.0.2.js:

	// Support: IE<9
	// Retrieving value should defer to defaultValue
	support.input = assert(function( div ) {
		div.innerHTML = "<input>";
		div.firstChild.setAttribute( "value", "" );
		return div.firstChild.getAttribute( "value" ) === "";

If I change that input tag to a self-closing one, the error does not appear.

Changed June 03, 2013 07:27PM UTC by gibson042 comment:8

Ah, this is then analogous the the XHTML bugs we see from time to time. At any rate, it was fixed with and is already in edge.

Changed June 03, 2013 08:17PM UTC by comment:9

I found the same issue in jquery-1.10.1.js and too, it is fixed by closing the input tag. Thanks tnarg_10@...

Well, this explain the error message!!!

Changed June 03, 2013 08:26PM UTC by comment:10

Seems that closing the <input> tag in the jquery files, the error does not appear more

Thanks to all the community for believing in me!!!

Changed June 06, 2013 03:19AM UTC by FranklinWhale comment:11

Good to know that this bug has been fixed in Git.