Side navigation
#1346 closed bug (fixed)
Opened July 03, 2007 07:36AM UTC
Closed July 05, 2007 02:45AM UTC
Last modified July 05, 2007 04:58AM UTC
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: |
Description
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)
Fixed in SVN rev [2241].