Summary: | Warning: validation was turned on but an org.xml.sax.ErrorHandler was not | ||
---|---|---|---|
Product: | Tomcat 3 | Reporter: | David J. hay <dhay> |
Component: | Unknown | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.3 Release Candidate 1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
David J. hay
2001-09-28 10:09:35 UTC
Further investigation reveals that this seems to occur every time tomcat compiles a jsp Tomcat 3.2x allowed only well-formed web.xml files. By default, 3.3 requires the web.xml to be valid (e.g. all elements must be in the order specified in the DTD). You can disable this by setting validate="false" in the WebXmlReader element of server.xml, but I'd recommend fixing the web.xml file (since this is the only way to be portable to other containers). Reopen to mark as fixed. Added better messages, and an ErrorHandler. You can disable validation by settings in WebXmlReader, or fix your xml file. |