[jdom-interest] XPath Problem

Elliotte Harold elharo at metalab.unc.edu
Wed Sep 21 18:45:28 PDT 2005


Stephen Gorton wrote:
> Basically it's a JDOMException, but if I expand the exception I get:
> 
> Invalid XPath expression: "//*": wrapped exception
> wrapped exception
> org.saxpath.SAXPathException: com.werken.saxpath.XPathReader
> 

Yeowch. That's an old version you've got there. com.werken is ancient 
history. You've probably hit a Jaxen bug that was fixed a long time ago. 
You aren't using JDOM 1.0, are you? Try upgrading and see if that solves 
the problem.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
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


More information about the jdom-interest mailing list