aspose file tools
The moose likes Tomcat and the fly likes using xerces parser instead of crimson Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "using xerces parser instead of crimson" Watch "using xerces parser instead of crimson" New topic
Author

using xerces parser instead of crimson

Darryl Cook
Greenhorn

Joined: Sep 08, 2004
Posts: 2
I am very close to getting this thing working but it seems that it is using the crimson parser which comes with java instead of the xerces parser which I installed. How do I get it to use the xerces.jar file instead?? I saw something which talked about adding an entry to the tomcat/bin/startup.sh file but it dont seem to be working...

thanks for any help
darryl
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

How do I get it to use the xerces.jar file instead??


What exactly is it?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Darryl Cook
Greenhorn

Joined: Sep 08, 2004
Posts: 2
Sorry......trying to get tomcat and axis working. I need tomcat to use xerces parser instead of using the crimson parser which comes with tomcat. I read somewhere that you can modify the order in which tomcat uses the classpath by modifying the startup.sh file but I have done that and it still is using the crimson parser. Apparently tomcat puts all of the user classpaths at the end when it starts so it sees its own stuff first.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56554
    
  14

I'm confused as to why you posted this in the Ant forum. I'll move this along to the Tomcat forum.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: using xerces parser instead of crimson
 
Similar Threads
XML validation
using Xerces parser in JAXP
NoSuchMethod exception using JRun 3.1 and SOAP 2.3.1
Which one is the best XML parser?
Axis Parser Error