Details
-
Bug
-
Status: Resolved
-
Resolution: Incomplete
-
2.4Dx
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
10950
Description
Hi,
I am simply running the sample named "ApplyXPath" with the file "foo.xml" and i
get error.
Here is the dump:
Exception in thread "main" java.lang.NoSuchMethodError: org.w3c.dom.Node:
method getNamespaceURI()Ljava/lang/String; not found
at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.addNode(DOM2DTM.java:282)
at org.apache.xml.dtm.ref.dom2dtm.DOM2DTM.<init>(DOM2DTM.java, Compiled
Code)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTM
(DTMManagerDefault.java, Compiled Code)
at org.apache.xml.dtm.ref.DTMManagerDefault.getDTMHandleFromNode
(DTMManagerDefault.java, Compiled Code)
at org.apache.xpath.XPathContext.getDTMHandleFromNode
(XPathContext.java:219)
at org.apache.xpath.XPathAPI.eval(XPathAPI.java:283)
at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:172)
at org.apache.xpath.XPathAPI.selectNodeIterator(XPathAPI.java:152)
at ApplyXPath.doMain(ApplyXPath.java, Compiled Code)
at ApplyXPath.main(ApplyXPath.java:210)