-
1. Re: XPath newInstance() runtime error
genman Oct 27, 2006 5:53 PM (in response to mark53)It's probably loading the XML libraries from the server.
One thing you can do is check this out:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
Or, try a newer JBoss version. -
2. Re: XPath newInstance() runtime error
mark53 Oct 28, 2006 4:50 PM (in response to mark53)Hi genman,
Thanks for your help but the link didn't solve my problem. In fact, I don't use JBoss but Tomcat. I registered in these forums because it was one of the only forums that dealt with that XPath problem. That's very specific, it's pretty hard to find information...
I'm not good at XML, but can the problem be related to the fact that the link http://java.sun.com/jaxp/xpath/dom is dead ? Maybe the XPath loader tries to read a XSD or something...
Thanks in advance,
Mark -
3. Re: XPath newInstance() runtime error
saschwen Nov 9, 2006 2:24 PM (in response to mark53)Hey,
Has anyone figured this out. I'm trying to overide the JBoss xalan XPath api with Saxon so I can use XPath 2.0 functionallity but I get this error when I remove the xalan.jar file from the lib/endorsed directory and place my saxon jars there instead.
If I leave the xalan.jar file there then for some reason jaxp still shooses the xalan api instead, even if I set the System Property to Saxon.
Thank you,
Steve.