tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Luby <>
Subject Re: [5.0] Build notes
Date Sun, 11 Aug 2002 20:04:12 GMT
Costin, wrote:
> On Sun, 11 Aug 2002, Patrick Luby wrote:
>>commons-digester/logging, etc. I think that this would make the build 
>>more reliable since Tomcat 5 is dependent on very specific versions of 
>>Apache dependencies (e.g. Xerces 2.0.1 only).
> IMHO that's _totally_ unacceptable ( having tomcat5 work only with 
> xerces).

I think that the dependency on Xerces 2.0.1 is excessively restrictive 
as well. IIRC (maybe Jean-Fran├žois could provide some of the details he 
found?), Xerces 2.0.1 was the only Xerces parser that we have found so 
far that does not throw StackOverflow or other fatal exceptions when an 
XML file using XML schema is parsed. I believe (Jean-Fran├žois: let me 
know if my understanding is incorrect) that this problem exists even if 
schema validation is turned off.

> And having schema validation turned on by default has a strong -1 from
> me - if the spec _requires_ schema validation, then implement it at 
> deployment time. The performance hit is just unacceptable. 

Any performance increases through delayed validation sounds good to me.

> ( in the process we should also move DTD validation to the same 
> stage and stop doing it on every startup if the xml file didn't change )

Makes sense. Especially since we use this same technique for JSP page 

Patrick Luby                     Email:
Sun Microsystems                         Phone: 408-276-7471
901 San Antonio Road, USCA14-303
Palo Alto, CA 94303-4900

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message