Hi Dominique,

Unfortunalty I don't understand the french info messages sorry (shame to
myself) But your TestCase runs now successfully. 

I replaced your XPath Expression "//fac:NbDonneesTotal" with
".//fac:NbDonneesTotal".
It seems to me that Jaxen don't understand the
AbbriviatedRelativeLocationPath when it has no context. 

I'm look in the XPath Spec if Jaxen works correct or if this is an error.

Please look at your TestCase if all works if excpeted. 

Bye

Toby

>  Hello, 
> 
> Here is the copy of the mail I sent yersterday. 
> Dominique
> -----Message d'origine-----
> De: Dominique Casserres
> A: '[EMAIL PROTECTED] '
> Cc: Dominique Casserres; Nicolas Fonrose
> Date: 04/09/01 18:15
> Objet: bug in XPath.selectNodes 
> 
> 
> Hello, 
> 
> 
> I am using XPath to select some nodes in a document that contains
> elements that belong to several namespaces. 
> When applying an XPath expression on a node that is not the root, I
> don't find what is expected (see method test4() of TestCase.java that
> applies an Xpath expression against a context node obtained using
> iterators).
> 
> When trying to illustrate the bug I also ran test1 and test2 that make
> me think selectNodes does not work on a copy of an element. 
> - test1() apply an Xpath expression against a context node that is a
> result of another xpath expression, 
> -  test2() apply an Xpath expression against a context node that is a
> copy of a node obtained as the result of another xpath expression, 
> 
> Could you please tell me whether I am doing something wrong or if it is
> a bug?
> 
> I am using dom4j-1.0 and jaxen-1.0-beta-5
> 
> Regards, 
> Dominique 
> 
> 
>  <<TestXPath.zip>> 
> 

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

TestXPath.zip

Reply via email to