Bug #5117
closedSaxon-CS: enabling 4.0 extensions from XSLT command line
100%
Description
See https://saxonica.plan.io/boards/3/topics/8303
It's not clear whether it's possible to enable 4.0 extensions when running from the XSLT command line.
Updated by Michael Kay about 3 years ago
- 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.
Updated by Michael Kay about 3 years ago
- 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.
Updated by O'Neil Delpratt almost 3 years ago
- % 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.
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from Resolved to Closed
Please register to edit this issue