Using Saxon
1 posts in topic
Flat View  Flat View

Posted By:   Gabriel_Lo
Posted On:   Thursday, February 7, 2002 06:22 PM

I would like to know how do I use the saxon.jar in tomcat to replace the jaxp.jar and paser.jar? Because I have tried to remove these 2 default jar files, but tomcat had error when restart the service. Error message as follow:

javax.xml.parsers.ParserConfigurationException: AElfred parser is namespace-aware

Please guide. Thanks !

Re: Using Saxon

Posted By:   Christopher_Schultz  
Posted On:   Friday, February 8, 2002 05:49 AM

If you want to use a different XML parser with your applications (especially one that comes with updated SAX and DOM interfaces), you'll have to leave the existing parser.jar and jaxp.jar in Tomcat's lib directory, and make your new jar file alphabetically first (when I did this, I user Xerces and made it AAA-xerces.jar).

You have to leave the old poarser in there because Tomcat uses it internally. You are still free to use your new parser if you want.

About | Sitemap | Contact