Bug Tracker

Ticket #12369 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

ajax, use find method for read xml

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


hi ajax time, use find method read xml error.


$.ajax( ...

success : function(oData) {
	// ok
	// 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


Change History

comment:1 Changed 3 years ago by dmethvin

  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Component changed from unfiled to selector
  • Milestone changed from None to 1.8.1

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

comment:2 Changed 3 years ago by timmywil

  • Owner set to timmywil
  • Status changed from open to assigned

comment:3 Changed 3 years ago by timmywil

  • Owner changed from timmywil to gibson042

comment:4 Changed 3 years ago by timmywil

  • Owner changed from gibson042 to timmywil

Woops, this one's me.

comment:5 Changed 3 years ago by Timmy Willison

  • Status changed from assigned to closed
  • Resolution set to fixed

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

Changeset: a66b5c7569fb7d06b970bb5424401d1eb0786a3b

Note: See TracTickets for help on using tickets.