My application uses JDOM. I've asked the list hoping someone had the same problem and was more successful than me finding a solution. I suspect that at the problem is related to the way jaxen is loaded.
-----Original Message----- From: Andreas Veithen [mailto:andreas.veit...@gmail.com] Sent: Tuesday, 22 May, 2012 15:41 To: java-user@axis.apache.org Subject: Re: JDOM XPath does not work with Axis Axis2 doesn't use JDOM, so it is not clear how your question is related to Axis2. Andreas On Tue, May 22, 2012 at 5:41 PM, <aaron.stro...@rsa.com> wrote: > Hi, > > > > I tried both JDOM and now JDOM2. > > > > For JDOM2, > > XPathFactory xpfac = XPathFactory.instance(); > > XPathExpression xp = xpfac.compile("//foo/bar"); > > > > The xp is null. > > > > For JDOM, > > XPath xp = XPath.newInstance("//foo/bar"); > > The xp is null. > > > > Both work in the simple java application. > > > > I tried to putting the JDOM jar in webapps/axis2/WEB-INF/lib along > with Jaxen - doesn't do a thing. > > Any ideas? > > > > Best regards, > > > > -a --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org