Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 28916 invoked from network); 12 Dec 2001 22:59:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 12 Dec 2001 22:59:40 -0000 Received: (qmail 3965 invoked by uid 97); 12 Dec 2001 22:59:38 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 3941 invoked by uid 97); 12 Dec 2001 22:59:37 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 3927 invoked by uid 50); 12 Dec 2001 22:59:36 -0000 Date: 12 Dec 2001 22:59:36 -0000 Message-ID: <20011212225936.3926.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 5397] New: - Rejecting properly formatted web.xml files X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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: For additional commands, e-mail: