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=4857>. 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=4857 web.xml file parse error if servlet-mapping comes before servlet Summary: web.xml file parse error if servlet-mapping comes before servlet Product: Tomcat 4 Version: 4.0.1 Final Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Unknown AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This bug may be with Xerces? not Tomcat, but I am unsure which version ships with Tomcat. A web.xml file containing: <web-app> <servlet> .... </servlet> <servlet-mapping> ... </servlet-mapping> <servlet> ... </servlet> <servlet-mapping> ... </servlet-mapping> </web-app> throws a SAXParseException on Catalina startup but simply rearranging the elements so that the two servlet elements are first and the servlet-mapping elements come afterwards eg: <web-app> <servlet> .... </servlet> <servlet> ... </servlet> <servlet-mapping> ... </servlet-mapping> <servlet-mapping> ... </servlet-mapping> </web-app> fixes the problem. I don't think this is normal behaviour, but correct me if I am wrong. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>