tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40507] - XML validation fails when xmlValidation="true"
Date Thu, 28 Dec 2006 17:27:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40507>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40507





------- Additional Comments From chris@sourcelabs.com  2006-12-28 09:27 -------
RE #3:

You are quite correct.  I came to the same conclusion this morning when looking
at this again.  Turns out my last test yesterday was mistakenly against an
instance that I had cleaned out (no webapps deployed).  That's what I get for
having too many test instances around ;-)

The two cuplrits are indeed the host-manager and servlets-examples webapps. 
They still reference 2.3 DTDs in their deployment descriptors.

Since TC5.5 is a Servlet 2.4 container, it seems to follow that all of the
webapps in the default install should use the 2.4 xsd reference.  I'm attaching
patches to the servlets-examples and host-manager deployment descriptors that
make that update.  The deployment descriptor for the servlets-examples webapp
also needed some changes to be 2.4 schema conformant (env-entry subelement
ordering).  With these changes I can now start 5.5.20 error-free with validation
enabled.

It will still throw errors if it encounters a webapp with a 2.3 DTD reference. 
I haven't tracked that down yet.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message