martinc 2002/12/10 22:30:22 Modified: src/share/org/apache/struts/tiles/xmlDefinition XmlParser.java Log: Allow the Digester to use the context class loader when parsing Tiles definitions. PR: 15035 Submitted by: Everett Toews (Thanks for the comprehensive explanation!) Revision Changes Path 1.6 +4 -4 jakarta-struts/src/share/org/apache/struts/tiles/xmlDefinition/XmlParser.java Index: XmlParser.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/xmlDefinition/XmlParser.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- XmlParser.java 16 Nov 2002 04:24:36 -0000 1.5 +++ XmlParser.java 11 Dec 2002 06:30:21 -0000 1.6 @@ -119,7 +119,7 @@ digester.setDebug(digesterDebugLevel); digester.setValidating(validating); digester.setNamespaceAware(true); - //digester.setUseContextClassLoader(true); + digester.setUseContextClassLoader(true); // Register our local copy of the DTDs that we can find for (int i = 0; i < registrations.length; i += 2) { URL url = this.getClass().getResource(registrations[i+1]);
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>