Bug #3502
closedixsl:source() does not correctly return an empty sequence when there is no global context item
100%
Description
Similar to https://saxonica.plan.io/issues/3500, if no source document is supplied for the transformation, then ixsl:source() does not return an empty sequence (e.g. a test of exists(ixsl:source()) returns true when it should be false).
Note that the documentation needs to be updated, as it currently says nothing about this case of having no global context item, as allowed in XSLT 3.0.
JS unit test ixsl/source01 added.
Updated by Debbie Lockett about 7 years ago
- Status changed from New to In Progress
Fix committed on 1.0 and trunk:
Return Iter.Empty when context.fixed.globalContextItem === null.
Updated by Debbie Lockett about 7 years ago
- Status changed from In Progress to Resolved
- Fix Committed on JS Branch 1.0, Trunk added
Documentation updated.
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