On Wed, 27 Feb 2002, Markus Spath wrote:

> Date: Wed, 27 Feb 2002 11:41:25 +0100
> From: Markus Spath <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: That old tomcat 4.0.2 - xerces.jar file problem one more
>     time...please
>
> additional question:
>
> relies tomcat itself on the libs in CATALINA_HOME/common/lib ?
>
> if not, it could be a good idea to just remove all xml-related libraries from
> there and (redundantly) including them in WEB-INF/lib of the projects to gain
> some sort of control.
> - just a thought and i didn't have a closer look at the class-loading mechanism.
>

Tomcat relies on a JAXP/1.1 or later XML parser in four places:
* Parsing server.xml
* Parsing web.xml
* Parsing tag library descriptor files (TLD)
* Parsing JSP pages that are in the XML syntax

So, there must be an XML parser visible to the internal classes.  This can
be put in either common/lib (if web applications also need it), or in
server/lib.  The release notes document (in the top level directory of the
distribution) talks more about your options for using different XML
parsers.

> are there any best practices for that one might follow?
>
>
> Markus
>

Craig


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

Reply via email to