Summary: | web.xml files are mix of 2.3 and 2.4 DTD | ||
---|---|---|---|
Product: | Tomcat 5 | Reporter: | Steve Kirk <apache-bug-db> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P3 | ||
Version: | 5.0.28 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Steve Kirk
2004-10-12 14:51:39 UTC
You are welcome to submit pacthes ;-). But it's celarly a user errors, so chaning this to an Enhancement. -- Jeanfrancois Agreed - using a 2.4 feature in a 2.3 file is clearly a user error. However, should tomcat not throw an exception when it sees a tag in web.xml that is not defined in its DTD? Tomcat is usually very strict at reporting problems in web.xml, which is a very useful feature, this is partly why I reported this problem. Please delete/ignore my last comment above - I added it to the wrong bug report :) I'll take a look at making the web.xml files all use the same schema (the 2.4 one). But Tomcat doesn't validate and won't validate your web.xml files for you: use a validator for that. Or submit your own enhancement patch to be considered. Done for Tomcat 5.0.30 and 5.5.4. |