Allow ixsl:set-property with the empty sequence as the @select expression
It should be possible to use ixsl:set-property to set a property of a JS object to null, by supplying the empty sequence as the @select expression. However this is not allowed at compile time.
Raised as Saxon-JS bug #3738, but track compile time code changes here.
Updated by Debbie Lockett almost 6 years ago
- Status changed from New to Resolved
- Fix Committed on Branch 9.7, 9.8, trunk added
Similarly, allow ixsl:set-style/@select to be an empty sequence (so type is optional string rather than single string). Note that setting a style property to null is the same as setting to the empty string, but I think it makes sense to maintain the alignment with ixsl:set-property.
JS unit tests ixsl/setProperty03 and ixsl/setStyle10 added.
Changes committed in IXSLFunctionSet on 9.8 and trunk branches; and IxslFunctionLibrary on 9.7 branch.
Please register to edit this issue