Skip to main content

Bug Tracker

Side navigation

#12369 closed bug (fixed)

Opened August 22, 2012 03:16AM UTC

Closed August 29, 2012 12:10AM UTC

ajax, use find method for read xml

Reported by: kjyoffice@empal.com Owned by: timmywil
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.

Attachments (0)
Change History (5)

Changed August 22, 2012 03:21AM UTC by dmethvin comment:1

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.

Changed August 24, 2012 09:57PM UTC by timmywil comment:2

owner: → timmywil
status: openassigned

Changed August 27, 2012 04:18PM UTC by timmywil comment:3

owner: timmywilgibson042

Changed August 27, 2012 04:18PM UTC by timmywil comment:4

owner: gibson042timmywil

Woops, this one's me.

Changed August 29, 2012 12:10AM UTC by Timmy Willison comment:5

resolution: → fixed
status: assignedclosed

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

Changeset: a66b5c7569fb7d06b970bb5424401d1eb0786a3b