Elliotte Harold
Tue, 19 Apr 2005 10:23:34 -0700
Maarten Coene wrote:
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.
-- Elliotte Rusty Harold [EMAIL PROTECTED] XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim
------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev