Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#973 CompileStylesheet with integrated extension functions

v9.2
closed
Michael Kay
5
2012-10-08
2009-08-22
Michael Kay
No

The command com.saxonica.CompileStylesheet does not allow a configuration file to be specified; this means it cannot be used to compile a stylesheet that contains calls to "integrated extension functions".

A patch has been produced that allows this command to take an additional option -config:filename in the same way as net.sf.saxon.Transform.

Note that if integrated extension functions are to be compiled, they must be Serializable classes, which means that they must not retain any references to objects that are not Serializable. In particular, the ExtensionFunctionCall object must not retain a reference to the StaticContext supplied via the supplyStaticContext() method.

This facility will become available in the first maintenance release after 9.2.0.2

Discussion

  • Michael Kay
    Michael Kay
    2009-10-22

    Fixed in 9.2.0.3