Apache OpenOffice (AOO) Bugzilla – Issue 34703
XSLT filter don't work with Java 5
Last modified: 2004-11-29 15:54:26 UTC
Using a XSLT filter ends up with a General Input/Output error. The setup of a log reveals the following exception: java.lang.IllegalArgumentException: The value of param sourceURL must be a valid Java Object at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.setParameter(Unknown Source) at XSLTransformer$1.run(XSLTransformer.java:272) This occurs as 'null' is not allowed as a parameter value. 'null' is seen as an invalid object, the reason that it worked in Java 1.4, was an issue in Java. Making this fix on the XSLTTransformer.java.
Started
What has been done: Aside of the usage of Xalan2.6, the source of a null pointer exception under Java 5 was removed in XSLTransformer.java. No 'null' is any longer allowed as parameter of a XSL transformation/processor, as 'null' is an invalid Java object.
Tested under Windows with Java 5.
verifie d in internal build cws_xsltfilter04
closed because fix available in OOo1.9m63