Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 58727 invoked from network); 12 Feb 2001 12:35:32 -0000 Received: from mailhost.rabo-bank.com (HELO smtprelay.rabo-bank.com) (195.50.100.21) by h31.sny.collab.net with SMTP; 12 Feb 2001 12:35:32 -0000 X-Server-Uuid: a785b87e-cff3-11d3-a545-00508b6573de Message-ID: <62F837C82974D311A7A30008C7A48097039EA1E6@exch4.rabo-bank.com> From: "Kimpton,C (Chris)" To: "'tomcat-user@jakarta.apache.org'" Subject: RE: Xerces parser. Date: Mon, 12 Feb 2001 12:38:40 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) X-WSS-ID: 1699088429799-01-02 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi, The problem I think is due to tomcat using its XML parser code to process yours. It has an old DOM v1 parser - which means if you use new v2-only methods, you get this kind of error. The work around we use is to remove the jaxp/parser jar files from the tomcat lib and drop in the xerces jar file. Then tomcat uses these and they have the new v2 facilities. HTH, Chris > -----Original Message----- > From: Peter Tornberg [mailto:tberg@x-obi.com] > > > I'm using the Xerces toolkit to build my own XML-parser. > Running this parser standalone works fine. My second step is > to move my parser into tomcat to run as a servlet. > > This is where my problems start. I get an error: > > java.lang.NoSuchMethodError > at > org.apache.xerces.parsers.DOMParser.startElement(DOMParser.java:1043) > at ================================================================================================ This electronic message (email) and any attachments to it are subject to copyright and are sent for the personal attention of the addressee. Although you may be the named recipient, it may become apparent that this email and its contents are not intended for you and an addressing error has been made. This email may include information that is legally privileged and exempt from disclosure. If you have received this email in error, please advise us immediately and delete this email and any attachments from your computer system.Rabobank International is the trading name of Co�peratieve Centrale Raiffeisen-Boerenleenbank B.A. which is incorporated in the Netherlands. Registered with the Registrar of Companies for England & Wales No. BR002630 and regulated by the SFA for the conduct of investment business in the UK. The presence of this footnote also confirms that this email has been automatically checked by Rabobank International for the presence of computer viruses prior to it being sent, however, no guarantee is given or implied that this email is virus free upon delivery.