AW: [jdom-interest] XPath.selectNodes(doc) via Jaxen: nodes not indocument-order

Kai Wörner kai.woerner at uni-hamburg.de
Mon Aug 16 05:36:26 PDT 2004


Hi,


It looks like it is indeed an error in Jaxen:

http://tinyurl.com/483xp

Since it doesen't seem to get fixed (this error report is over 7 months old)
- does anybody know of some elegant workaround that doesn't include writing
my own xpath-parser?

Thanks,

Kai 

-----Ursprüngliche Nachricht-----
Von: jdom-interest-bounces at servlets.com
[mailto:jdom-interest-bounces at servlets.com] Im Auftrag von Per Norrman
Gesendet: Montag, 16. August 2004 13:52
An: Kai Wörner
Cc: jdom-interest at jdom.org
Betreff: Re: [jdom-interest] XPath.selectNodes(doc) via Jaxen: nodes not
indocument-order

Hi,

Using Saxon 7.9.1, this XQuery

xquery version "1.0";

<out>
   {
     doc('source.xml')//w
   }
</out>

produces this outout:

<?xml version="1.0" encoding="UTF-8"?>
<out>
    <w no="1">word1</w>
    <w no="2">word2</w>
    <w no="3">word3</w>
    <w no="4">word4</w>
</out>

To nail this down, ask in
http://www.mulberrytech.com/xsl/xsl-list/index.html
what the correct result should be, then go beat on jaxen (perhaps).

/pmn

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/youraddr@yourhost.com




More information about the jdom-interest mailing list