View | Details | Raw Unified | Return to bug 52450
Collapse All | Expand All

(-)java/org/apache/jasper/xmlparser/ParserUtils.java.sav (+10 lines)
Lines 132-137 public class ParserUtils { Link Here
132
132
133
        return (parseXMLDocument(uri, new InputSource(is)));
133
        return (parseXMLDocument(uri, new InputSource(is)));
134
    }
134
    }
135
    
136
    /**
137
     * Set the EntityResolver.
138
     * This is needed when the dtds and Jasper itself are in different classloaders (e.g. OSGi environment).
139
     * 
140
     * @parem er EntityResolver to use.
141
     */
142
    public static void setEntityResolver(EntityResolver er) {
143
        entityResolver = er;
144
    }
135
145
136
146
137
    // ------------------------------------------------------ Protected Methods
147
    // ------------------------------------------------------ Protected Methods

Return to bug 52450