Sorry about the cross-post. I posted this is user and I meant to post it here. Could you guys post any replies here please? Thanks Kevin Jones DevelopMentor www.develop.com > -----Original Message----- > From: Kevin Jones [mailto:[EMAIL PROTECTED]] > Sent: 27 January 2001 08:25 > To: Tomcat-User > Subject: Using Xerces in my Application > > > I'm trying to use Xerces in my web application. To do this I put > the jar file into WEB-INF/lib. However whenever I try and parse > any XML I get a 'sealing' exception. I've just read the recent > thread on this and it implies that I can only have one XML parser > within Tomcat, or at least that if the class names clash (which > they will) things may not work as expected. > > Can I use Xerces either alongside Crimson? If so, where do I put > it. It doesn't work in WEB-INF/lib and only works in tomcat/lib > as a replacement for crimson. > > Reading the sealing discussion I get the impression that using > Xerces should be OK as long as the class loader doesn't try and > use two classes with the same name from different jars, (or am I > way off the mark here?). So shouldn't xerces become the 'default' > XML parser for my application? > > What if I want to use a different parser (such as Oracle's) will > it work (I haven't tried this BTW)? > > Kevin Jones > DevelopMentor > www.develop.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]