tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claude Montpetit" <cmontpe...@nertec.com>
Subject Re: Xerces Jar
Date Thu, 16 May 2002 15:54:12 GMT

Yes, I had done that too. But I want to be able to only ship a WAR file for
my app. I do not want to make changes to the standard Tomcat install. I can
do this only in the configuration described below.

----- Original Message -----
From: <BBui@sjm.com>
To: <tomcat-user@jakarta.apache.org>
Sent: Thursday, May 16, 2002 11:49 AM
Subject: RE: Xerces Jar


> The jars in Tomcat4 are under common/lib.  I replace the xerces.jar with
my
> jaxp.jar to get the newest parsers and stuffs.
>
> Bao-Ha Dam Bui
> bbui@sjm.com
> S. Jude Medical, Inc
> 651.765.1018
>
>
> -----Original Message-----
> From: Claude Montpetit [mailto:cmontpetit@nertec.com]
> Sent: Thursday, May 16, 2002 10:41 AM
> To: Tomcat Users List
> Subject: Xerces Jar
>
> Hi,
>
> My web app needs to use Xerces 2. So I placed the these JARs under
> WEB-INF/lib.
>
> Is it normal that Tomcat still uses its own version of Xerces (which is
1.x)
> when my servlet creates a SAXParser?
> This happens when using Tomcat 4.0.*.
>
> (This causes us problems: The way the SAXParser reads the inputStream
> differs between xerces 1.x and 2.x. In 1.x, when running JDK1.4, the
parser
> waits for all data to be read before calling the DefaultHandler. In Xerces
> 2, the parser calls the DefaultHandler when the data comes in, which is
what
> we need.)
>
> I could go on and on testing many more combinaison of versions for JDK,
> Xerces, Xalan and Tomcat but so far, the only thing that seems to work for
> us is:
>
>     Tomcat 4.0.4-b3-LE-jdk14
>     jaxp-1.2-ea2 (which contains Xerces 2)
>     JDK 1.4
>
> The reason for this email is mainly to get a confirmation of all this.
Does
> my conclusions make sense?
>
> .. standardizing on XML libraries across different third party products is
> not an easy task...
>
> Claude
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message