ixsl:source() does not correctly return an empty sequence when there is no global context item
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.
Please register to edit this issue