JDOM and Axis2

<[email protected]> Tue, 22 May 2012 11:50:05 -0400
Newsgroups gmane.comp.java.jdom.general
Message-ID <[email protected]>
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? TIA

Best regards,

-a

_______________________________________________
To control your jdom-interest membership:
http://www.jdom.org/mailman/options/jdom-interest/[email protected]