I use the xerces.jar SAX parser under Tomcat 4.0.1 with no problems.  I
believe you will however have a problem if you have another parser
'installed alongside' as you put it.  It was the root of an initial problem
I had when my IDE-deployed .war file included a different SAX parser, and
at runtime I then got ClassCastException errors under Tomcat.  I removed
the one from my .war, and xerces SAX parsing worked great.  Hope this helps
at least a little...

Mark


At 09:44 PM 2/19/2002 -0000, you wrote:
>Mehjabin
>
>Never got a reply! Wondering if I might have said something offensive in a
>previous post :)
>
>Would be great if someone would reply...
>
>John
>
>> -----Original Message-----
>> From: Kapasi, Mehjabin [mailto:[EMAIL PROTECTED]]
>> Sent: 19 February 2002 20:27
>> To: 'Tomcat Users List'
>> Subject: RE: TomCat's XML parser
>> 
>> 
>> Hi,
>> I have the same issue. I would like to use another parser 
>> instead of Xerces.
>> Did you get a reply to this question? If yes, could you let me know?
>> thank you
>> -Mehjabin
>> 
>> -----Original Message-----
>> From: John Wadkin [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, February 18, 2002 10:15 AM
>> To: Tomcat Users List (E-mail)
>> Subject: TomCat's XML parser
>> 
>> 
>> All,
>> 
>> I'm in the process of setting up a (Unix) system ready for a 
>> servlet. I'm
>> told by the person who wrote the servlet that it needs a XML 
>> parser. He
>> recommends Xerces and (apparently) I'll also need SAX.
>> I know that TomCat uses Xerces but which version? And does 
>> that include SAX?
>> If so, which version? I've read the doc's and the latest 
>> version of Xerces
>> no longer comes as Xerces.jar - it's now two separate jars - 
>> but can be made
>> into a single jar. This leaves me wondering if TomCat uses the latest
>> version or not - i.e. TomCat has xerces.jar in tchome/common.
>> Also, would it be possible to have a second parser installed alongside
>> Xerces - e.g. Aelfred - without breaking TomCat?
>> 
>> Thanks,
>> 
>> John


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to