Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1346 closed bug (fixed)

Error in node selection in XML documents

Reported by: plz Owned by:
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocked by: Blocking:


In the success callback of $.ajax() call, I make selections of some nodes in the resulting XML document. More precisely: _afterAjaxSuccess = function (data) {

$('node1/node2', data).each(

function () {

some code...

}); ...

} This is perfectly working on version 1.1.2, while in 1.1.3 the above selection return 0 nodes. Note that both the selections $('node1', data) and $('node2', data) works in 1.1.3; it fails when I add child nodes 'node2' to 'node1'. For a real case, try the XML attached file with the following selection:

$('LstElementi/UnitaOrganiz', data)

Attachments (1)

test.xml (30.5 KB) - added by plz 16 years ago.
XML test file

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by plz

Attachment: test.xml added

XML test file

comment:1 Changed 16 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [2241].

comment:2 Changed 16 years ago by john

Milestone: 1.1.4
Note: See TracTickets for help on using tickets.