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 5397] New: - Rejecting properly formatted web.xml files
Date Wed, 12 Dec 2001 22:59:36 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5397>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5397

Rejecting properly formatted web.xml files

           Summary: Rejecting properly formatted web.xml files
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: tom@surety.com


On Tomcat startup:
PARSE error at line 13 column -1
org.xml.sax.SAXParseException: Element "web-app" does not allow "context-param" 
here.

Servlet spec 2.3 does allow for context-param under web-app.

Moving elements around in the web.xml file makes problem go away.
Will attach 2 testcases.  One that causes the problem, one that parses 
successfully.

--
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