tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanfrancois Arcand <jfarc...@apache.org>
Subject Xerces 2.2.x & Struts 1.0.2 problem.
Date Thu, 14 Nov 2002 16:31:08 GMT
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 bugzilla bug: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13282

This bug was difficult to isolate :-)

-- Jeanfrancois


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


Mime
View raw message