While upgrading from 1.52 to 1.6 I've discovered these changes:
1) Document doc2 = document.selectSingleNode("/some/xpath").getDocument();
now returnes the whole document, and not the nodes under /some/xpath like it did before.
2) this expression is no longer valid, and fails: [EMAIL PROTECTED]'B']/row/[some_node='val1']|[some_node='val2']
java.lang.NoSuchMethodError: org.jaxen.XPathSyntaxException: method initCause(Throwable) Throwable: not found
(BaseXpath: 143 and 158)
3) [EMAIL PROTECTED]'B']/row/[some_node='val1'|some_node='val2'] exception thrown: union is only allowed over node-sets
<which is correct>
changing it to [EMAIL PROTECTED]'B']/row/[some_node='val1' or some_node='val2'] makes it work.
-- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev