Re: [dom4j-user] Invalid XPath Expression although XML-File is read

2005-09-13 Thread Peter Emmerling
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Solution: I just put the jaxen-1.1-beta-7.jar in the library-path. Then it worked. I'm wondering why this has to be done because the needed classes/methods should already be included in the dom4j-1.6.1.jar. Any comments? Peter Peter Emmerling wrote:

[dom4j-user] Invalid XPath Expression although XML-File is read

2005-09-13 Thread Peter Emmerling
Hi, I'm dealing with servlets, tomcat5.028, java1.5.0 and dom4j1.6.1. I would like to process a xml-file by means of a xml_utility-class. I always get an Invalid XPath Expression-Exception with the code you can see below, but when I'm using an Iterator like: Element root = doc.getRootElement();