You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/10/12 16:51:40 UTC

DO NOT REPLY [Bug 31671] New: - web.xml files are mix of 2.3 and 2.4 DTD

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=31671>.
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=31671

web.xml files are mix of 2.3 and 2.4 DTD

           Summary: web.xml files are mix of 2.3 and 2.4 DTD
           Product: Tomcat 5
           Version: 5.0.28
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: apache-bug-db@web-startup.co.uk


There are a number of web.xml files bundled with the tomcat binary installer.  
Their headers are however a mixture of different versions - some are v2.3 and 
some are v2.4.  This has led me to make errors.  For example I accidentally 
based a web.xml file on a 2.3 DTD and then used the 2.4 feature <include-
prelude> within it, which was then silently ignored (see report 31670).

I appreciate that 2.3 is still valid, and it is useful to distribute examples 
of each version. 

I'd like to suggest making all bundled web.xml files the latest version 
currently (2.4) but include the 2.3 headers commented out?  That way, people 
can clearly see the choice they are making, but can use all the new features 
without worrying about "upgrading" the bundled web.xml examples.

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