Bug #5117
closed
Saxon-CS: enabling 4.0 extensions from XSLT command line
Category:
Saxon extensions
Fix Committed on Branch:
trunk
Fixed in Maintenance Release:
- Status changed from New to In Progress
The documentation at https://www.saxonica.com/documentation11/index.html#!v4extensions suggests it should be enough to EITHER set the configuration option ALLOW_SYNTAX_EXTENSIONS (which can be done from the command line), or to set the XsltVersion
property in the XsltCompiler
object (which can only be done using the API).
In fact it seems only the latter works.
- Status changed from In Progress to Resolved
- Fix Committed on Branch trunk added
I've made it so that setting --enableSyntaxExtensions
on the command line now works.
This was trickier than it appears; we have to make sure that setting enableSyntaxExtensions
on the configuration updates the defaultXsltCompilerInfo
to set the language version to 4.0.
- % Done changed from 0 to 100
- Fixed in Maintenance Release 11.1 added
- Platforms Java added
Bug fix applied in the Saxon 11.1 release.
- Status changed from Resolved to Closed
Please register to edit this issue
Also available in: Atom
PDF