David,

this is an bug in jaxen. I think they have already fixed it.
Can you try with the latest jaxen release?
http://jaxen.codehaus.org

regards,
Maarten

David Thielen wrote:

Hello;

I have a node that is a DefaultElement with a lot of sub elements. I call:

Node.selectNodes(“grunnbokstype='B'|'H'”);

And get:

org.dom4j.XPathException: Exception occurred evaluting XPath: grunnbokstype='B'|'H'. Exception: Unions are only allowed over node-sets

Using 1.5.2 it works fine.

Any ideas???

Thanks - dave

David Thielen

www.windwardreports.com <http://www.windwardreports.com>

303-499-2544




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to