Bug #965
Mis à jour par Serge Heiden il y a environ 11 ans
Problem: In some environments, cases, the javax javac TransformerFactory cannot be resolved. When resolved, when the property "javax.xml.transform.TransformerFactory" Java environment property is set to the saxon factory (net.sf.saxon.TransformerFactoryImpl), the javax.xml.transform.FactoryFinder fails failed to find the saxon factory.
Question: why javax.xml.transform.FactoryFinder could not find saxon factory? factory ? Maybe because of the multiple classloader of Eclipse RCP? 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>
Question: why javax.xml.transform.FactoryFinder could not find saxon factory? factory ? Maybe because of the multiple classloader of Eclipse RCP? 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>