Bug #965
Mis à jour par Matthieu Decorde il y a plus de 10 ans
Problem: In some environments, the javax TransformerFactory cannot be resolved. When the "javax.xml.transform.TransformerFactory" Java environment property is set to the saxon factory (net.sf.saxon.TransformerFactoryImpl), the javax.xml.transform.FactoryFinder fails to find the saxon factory.
Question: why javax.xml.transform.FactoryFinder could not find saxon factory? Maybe because of the multiple classloader of Eclipse RCP?
Solution: force the usage of saxon factory by replacing :
<pre>
TransformerFactory factory = TransformerFactory.newInstance();
</pre>
with
<pre>
TransformerFactory factory = new net.sf.saxon.TransformerFactoryImpl();
</pre>
h3. Validation test
Run the ExecXSL macro
MD: **OK** Linux64
Question: why javax.xml.transform.FactoryFinder could not find saxon factory? Maybe because of the multiple classloader of Eclipse RCP?
Solution: force the usage of saxon factory by replacing :
<pre>
TransformerFactory factory = TransformerFactory.newInstance();
</pre>
with
<pre>
TransformerFactory factory = new net.sf.saxon.TransformerFactoryImpl();
</pre>
h3. Validation test
Run the ExecXSL macro
MD: **OK** Linux64