Bug Tracker

Modify

Ticket #5419 (closed bug: fixed)

Opened 4 years ago

Last modified 2 years ago

IE finds wrong elements in XML doc

Reported by: lectror Owned by: john
Priority: major Milestone:
Component: selector Version: 1.3.2
Keywords: ie8 find xml Cc:
Blocking: Blocked by:

Description

$xml_handel.find('ancestor descendant') is not working properly under IE.

Attachments

jquerytest.html Download (1.5 KB) - added by lectror 4 years ago.
Run this file under IE & FF, you gonna see the difference.

Change History

Changed 4 years ago by lectror

Run this file under IE & FF, you gonna see the difference.

comment:1 Changed 4 years ago by dmethvin

  • Keywords ie8 find xml added
  • Owner set to john
  • Component changed from unfilled to selector
  • Priority changed from critical to major

Definitely strange. Even though $model is selecting the first <model> tag, the .find() manages to find elements in the second one as well. Thanks for the test case!

comment:2 Changed 3 years ago by dmethvin

  • Status changed from new to open
  • Summary changed from Selector bug under IE to IE finds wrong elements in XML doc
  • Milestone 1.4 deleted

comment:3 Changed 2 years ago by danheberden

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

jQuery 1.5 opened up $.parseXML - check it out :)  http://jsfiddle.net/danheberden/ChuUN/

 http://api.jquery.com/jQuery.parseXML

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.