tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <>
Subject Xerces 2.2.x & Struts 1.0.2 problem.
Date Thu, 14 Nov 2002 16:31:08 GMT

finally, with the help of Craig, I was able to isolate the problem 
Tomcat have with Xerces 2.2.x. When you have  an <!ELEMENT line longer 
that 80 characters in a DTD, Xerces 2.2.x thrown the misleading 
exception everybody have seen.

In our case, file web-app_2_3.dtd included with Struts 1.0.2 is causing 
the problem (Strangely, this is not the same as the web-app_2_3.dtd 
included in jakarta-servletapi). Struts 1.1 have a 80 characters format.

We have 3 solutions:

(1) Bundles Struts 1.1 latest build with Tomcat 4.1.x
(2) Compile Struts 1.0.2 with our version of web-app_2_3.xml and commit 
the jar file in the webapp WEB-INF/lib folder.
(3) Wait for a new release of Xerces (or when the fix will be available).

The bugzilla bug:

This bug was difficult to isolate :-)

-- Jeanfrancois

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

View raw message