Sorry for cross posting. it is urgent.
Hi all, First I wanted to state that the code that is currently failing worked perfectly until recently. And I can't recall of any changes that were made to the environment in which the JVM is running. The problem is that when I perform the following code on a Xmlbean dom node, it fails: public static Node SeekNode(XPathExpression expression, Element element) throws XPathExpressionException{ return (Node)expression.evaluate(element,XPathConstants.NODE); } SOMETIMES fails. Apparently, the XPathExpression actual object is resolved to jaxp xpath engine even though SAXON is available in classpath. Could that be the problem? Any help would be appreciated. Thanks in advance, Asaf