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