On Wed, 5 Sep 2001, [iso-8859-1] Jérôme Nègre wrote:

> Hi,
> 
> If I use the following code :
> 
> XPath jPath = new XPath("my/path");
> Object result = jPath.selectSingleNode(elementNode);
> 
> selectSingleNode returns null, whereas if I use this one :
> 
> XPath jPath = new XPath("./my/path");
> Object result = jPath.selectSingleNode(elementNode);
> 
> selectSingleNode finds the good result.
> 
> Is it the appropriate result ? How can I use the first syntax ?

Yeah, that's definitely a bug, I guess.  Funny it hasn't
shown up yet in the test-cases.

Can you send me:

        a) version # of Jaxen you're using
        b) name of the object-model you're using
        c) Some test-document.xml
        d) A snippet of test-case driver (see xml/test/tests.xml)

Once we have a test-case that breaks, it's much easier
to fix.

        -bob


_______________________________________________
Jaxen-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jaxen-interest

Reply via email to