Hi,

I'm trying to run the following Ant task using Saxon 9.3.0.4J:

<xslt style="stylesheet.xsl"
        out="tmpout.xml"
        processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison"
        force="true"
        destdir="outputdir">
        <param name="isbn" expression="9781231231234"/>
        <classpath>
                <pathelement location="saxon9he.jar"/>
        </classpath>
        <factory name="net.sf.saxon.TransformerFactoryImpl">
                <attribute name="http://saxon.sf.net/feature/initialTemplate" value="MakeDql"/>
        </factory>
</xslt>

The intended output is a very simple XML document containing a script to be run by our content management system, but trying to run it from Ant gives me: java.lang.IllegalArgumentException: Unknown attribute http://saxon.sf.net/feature/initialTemplate

Other feature keys seem to work correctly, though I haven't done exhaustive checks. I'm working from the list of featurekeys at www.saxonica.com/documentation9.3/javadoc/net/sf/saxon/lib/FeatureKeys.html in tandem with the list of constant values linked therefrom - what might I have misunderstood?

The transformation works fine from the command line (using "-it:MakeDql") - just not from Ant. Can anyone shed any light?

Many thanks,
Tom Cleghorn