Hi, I belong to the same organization as Bradley. It seems like ExtensionNamespacesManager class could be somehow used to disable the Java extension. Although there is no unregisterExtension() method (registerExtension() method is there) , and setPredefinedNamespaces() method is private, would it be possible any at all to remove the extension? More preferable way would be to limit the number of packages available for the Java extension. So instead of disabling the extension, it would be even better to let the Java code inside of XSLT source use only "java.lang" and "java.util" packages. Using any other package would throw an exception. Is there any way to provide our own ObjectFactory class or to have our own ClassLoader class and make ObjectFactory.findClassLoader() return it? The idea is that this specific ClassLoader would allow only certain packages during the transformation while regular ClassLoader would still work in the rest of our application. Thanks, Artur
|
- Re: Xalan mailing list posts Artur Tomusiak
- Re: Disabling Xalan-Java Extensions Artur Tomusiak
- Re: Disabling Xalan-Java Extensions Bradley Wagner