tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauricio Nuñez <mnu...@maxmedia.cl>
Subject Default XML Parser
Date Mon, 07 Apr 2003 20:00:39 GMT
Hi:

Checking the source code, I can see what the ClassLoader 
org.apache.catalina.loader.WebappClassLoader force the loading of the default 
or the endorsed XML Parser.

    /**
     * Set of package names which are not allowed to be loaded from a webapp
     * class loader without delegating first.
     */
    private static final String[] packageTriggers = {
        "javax",                                     // Java extensions
        "org.xml.sax",                               // SAX 1 & 2
        "org.w3c.dom",                               // DOM 1 & 2
        "org.apache.xerces",                         // Xerces 1 & 2
        "org.apache.xalan"                           // Xalan
    };


It's posible set this as optional to permit a distinct xml parser per Webapp?
This may break the Spec, but is a practical issue to offer a Java hosting.

Att

Mauricio Nuñez
mauricio at chile dot com






---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message