Project

Profile

Help

Bug #3564

Check that context item is an element for ixsl:set-attribute and ixsl:remove-attribute

Added by Debbie Lockett 10 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Low
Sprint/Milestone:
-
Start date:
2017-12-08
Due date:
% Done:

100%

Applies to JS Branch:
1.0, Trunk
Fix Committed on JS Branch:
1.0, Trunk
Fixed in JS Release:
SEF Generated with:
Company:
-
Contact person:
-
Additional contact persons:
-

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).

History

#1 Updated by Debbie Lockett 10 months 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.

#2 Updated by Debbie Lockett 5 months 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