costin 01/08/02 19:37:13 Modified: src/facade22/org/apache/tomcat/facade WebXmlReader.java Log: Validation of web.xml - fails if the resource starts with /. Revision Changes Path 1.13 +1 -1 jakarta-tomcat/src/facade22/org/apache/tomcat/facade/WebXmlReader.java Index: WebXmlReader.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/facade22/org/apache/tomcat/facade/WebXmlReader.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- WebXmlReader.java 2001/06/28 07:10:02 1.12 +++ WebXmlReader.java 2001/08/03 02:37:13 1.13 @@ -148,7 +148,7 @@ // By using dtdURL you brake most parsers ( at least xerces ) xh.registerDTDRes("-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN", - "/org/apache/tomcat/resources/web.dtd"); + "org/apache/tomcat/resources/web.dtd"); xh.addRule("web-app/context-param", xh.methodSetter("addInitParameter", 2) ); xh.addRule("web-app/context-param/param-name", xh.methodParam(0) );