Jeanfrancois Arcand wrote:
Hi,

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 pragmatic way should be to ask for a struts 1.0.2a release including the correct web-app_2_3.xml ;)





--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to