Share

jaxen

Tracker: Bugs

5 Bad order with selectNodes //something - ID: 864320
Last Update: Comment added ( bazzargh )

According the documentation of BaseXPath.selectNodes,
"nodes will be returned in document-order" unless I'm
"using XPath expressions involving the union operator".
But it seems that //somthing expressions return the result
not in document order. E.g for this XML:

<a>
<x>1</x>
<b>
<x>2</x>
<x>3</x>
</b>
<x>4</x>
</a>

XPath expression //x will return the nodes in order 1, 4,
2, 3.

I have tried it with both 1.0 FCS and the 1.1 beta.


Dániel Dékány ( ddekany ) - 2003-12-22 09:31

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 3 )




Date: 2004-09-15 21:35
Sender: bazzargh

Logged In: YES
user_id=1005507

Active development of jaxen has stopped on sourceforge.net and moved to
http://jaxen.codehaus.org/ . This issue has been closed on sourceforge and

reopened on the JIRA issue tracker, http://jira.codehaus.org . The new
issue
URL is below.


Date: 2004-09-15 21:35
Sender: bazzargh

Logged In: YES
user_id=1005507

http://jira.codehaus.org/browse/JAXEN-55


Date: 2004-08-16 12:37
Sender: herrner

Logged In: YES
user_id=817048

I'm having the same problems - is this bug going to be fixed?


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
close_date - 2004-09-15 21:35 bazzargh
status_id Open 2004-09-15 21:35 bazzargh