How to make Tomcat use the Xerces XML parser instead of the Sun JAXP XML parser?
Created Oct 19, 2001
Alex Chaffee You can do one of two things:
- Replace the Tomcat system files jaxp.jar and parser.jar (located in TOMCAT_HOME/lib) -- that is, delete them and install the Xerces jars in their place
- Include your preferred XML parser jars (xerces.jar and/or xalan.jar) inside your web application's WEB-INF/lib
So try #2 first, then if that fails, try #1.