If XMLUtil is changed from
. . . I can drop something like saxon-he-11.5.jar into the classpath and suddenly I have XSLT 2.0 available to me.
I’m not deeply familiar with java so my sense is that, to some degree this is luck. But it certainly allows me to set:
createObject("java", "java.lang.System"). setProperty('javax.xml.transform.TransformerFactory','net.sf.saxon.BasicTransformerFactory');
which should assure that I’m using the factory that I want.
I’ve just done this and am playing around with it. I haven’t bumped into anything completely damning yet. But I do wonder if there is some reason that the ‘com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl’ is hardcoded.
Or am I missing some other way that I could affect the factory that is chosen?