Bug #3739
closedAllow ixsl:set-property with the empty sequence as the @select expression
100%
Description
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 over 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.
Updated by O'Neil Delpratt over 6 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in Maintenance Release 9.8.0.12 added
Bug fix applied in the Saxon 9.8.0.12 maintenance release.
Please register to edit this issue