You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mauricio Nuñez <mn...@maxmedia.cl> on 2003/04/07 22:00:39 UTC
Default XML Parser
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