Bug Tracker

Opened 11 years ago

Closed 11 years ago

#12369 closed bug (fixed)

ajax, use find method for read xml

Reported by: kjyoffice@… Owned by: Timmy Willison
Priority: blocker Milestone: 1.8.1
Component: selector Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Description

hi ajax time, use find method read xml error.

sample.

$.ajax( ...

success : function(oData) {
	// ok
	alert($(oData).find('sampleXML').find('status').text());
	// error
	alert($(oData).find('sampleXML status').text());
},

...);

sample page jquery 1.7.2 : OK http://learnws.byus.net/jq/sample.php?ver=172min

jquery 1.8.0 : Errror http://learnws.byus.net/jq/sample.php?ver=180min

jquery 1.8.0 : Errror http://learnws.byus.net/jq/sample.php?ver=180

thank.

Change History (5)

comment:1 Changed 11 years ago by dmethvin

Component: unfiledselector
Milestone: None1.8.1
Priority: undecidedblocker
Status: newopen

Specifically, IE9 and older. Sizzle is trying to assign an expando to the XML element which isn't allowed.

comment:2 Changed 11 years ago by Timmy Willison

Owner: set to Timmy Willison
Status: openassigned

comment:3 Changed 11 years ago by Timmy Willison

Owner: changed from Timmy Willison to gibson042

comment:4 Changed 11 years ago by Timmy Willison

Owner: changed from gibson042 to Timmy Willison

Woops, this one's me.

comment:5 Changed 11 years ago by Timmy Willison

Resolution: fixed
Status: assignedclosed

Sizzle: adjust caching to avoid IE errors on xml descendent selectors. Fixes #12369.

Changeset: a66b5c7569fb7d06b970bb5424401d1eb0786a3b

Note: See TracTickets for help on using tickets.