Bug #3564
closedCheck that context item is an element for ixsl:set-attribute and ixsl:remove-attribute
100%
Description
Following on from https://saxonica.plan.io/issues/3501 - where we dealt with IXSL extension functions; there are a few minor corrections to make for the IXSL extension instructions ixsl:set-attribute, ixsl:remove-attribute, and ixsl:set-style.
We should check that current context item is an Element in ixsl:remove-attritube and ixsl:set-attribute (throwing an error if not). We currently only check that the context item is in the HTML page. Similarly, we should check that the object supplied as the 3rd arg to ixsl:set-style is an Element, and that the style property is available, producing an error if not (to correspond with ixsl:set-property).
Updated by Debbie Lockett almost 7 years ago
- Status changed from In Progress to Resolved
- Fix Committed on JS Branch 1.0, Trunk added
Minor fixes committed on 1.0 and trunk branches.
Documentation updated with additional information for clarification (including online).
Numerous JS unit tests added.
Updated by Debbie Lockett over 6 years ago
- Status changed from Resolved to Closed
- % Done changed from 0 to 100
- Fixed in JS Release set to Saxon-JS 1.1.0
Bug fix applied in the Saxon-JS 1.1.0 maintenance release.
Please register to edit this issue
Also available in: Atom PDF Tracking page