Return-Path: Delivered-To: apmail-xml-general-archive@xml.apache.org Received: (qmail 11486 invoked by uid 500); 23 Mar 2001 12:55:07 -0000 Mailing-List: contact general-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: general@xml.apache.org Delivered-To: mailing list general@xml.apache.org Received: (qmail 11465 invoked from network); 23 Mar 2001 12:55:06 -0000 From: Donald_Leslie@lotus.com Subject: Re: XPath query throws NoSuchMethodError Exception To: general@xml.apache.org X-Mailer: Lotus Notes Release 5.0.4a July 24, 2000 Message-ID: Date: Fri, 23 Mar 2001 07:53:25 -0500 X-MIMETrack: Serialize by Router on CAMMAIL03/CAM/M/Lotus(Release 5.0.6a |January 17, 2001) at 03/23/2001 07:53:26 AM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N It appears that you have an earlier version of the DOM on your classpath in front of xalan and xerces. If you are running on JDK 1.3, see http://xml.apache.org/xalan-j/faq.html#faq-6. -- Don Leslie "Rasmus Munk Jensen" on 03/23/2001 07:42:11 AM Please respond to general@xml.apache.org To: cc: (bcc: Donald Leslie/CAM/Lotus) Subject: XPath query throws NoSuchMethodError Exception Hi I have a big problem, running any XPath expression. If I run a expression like this: NodeList nodes = XPathAPI.selectNodeList(root, "data"); I get the following: java.lang.NoSuchMethodError at org.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:348) at org.apache.xpath.patterns.NodeTest.execute(NodeTest.java:488) at org.apache.xpath.axes.PredicatedNodeTest.acceptNode(PredicatedNodeTest.java: 388) at org.apache.xpath.axes.ChildTestIterator.nextNode(ChildTestIterator.java:193) at org.apache.xpath.NodeSet.addNodes(NodeSet.java:550) at org.apache.xpath.NodeSet.(NodeSet.java:154) at org.apache.xpath.objects.XNodeSet.mutableNodeset(XNodeSet.java:291) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:201) at org.apache.xpath.XPathAPI.selectNodeList(XPathAPI.java:178) at testservlet.XMLMessageBrooker.runMessage(XMLMessageBrooker.java:65) at testservlet.XMLMessageServer.doPost(XMLMessageServer.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597) at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Thread.java:484) I am using the lastest Xalan 2.0.1 release, and Java 1.3 (JBuilder 4.0) I get the same error when using the selectSingleNode method. Any Ideas... Thanks -Rasmus --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org --------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: general-unsubscribe@xml.apache.org For additional commands, e-mail: general-help@xml.apache.org