Skip to content

XSLT-specific context properties used in function items #407

Description

@michaelhkay

I just stumbled across the fact that current-group#0 doesn't work: see the note in 14.2.1 that says:

Like other XSLT extensions to the dynamic evaluation context, the [current group] is not retained as part of the closure of a function value. This means that the expression current-group#0 is valid and returns a function value, but any invocation of this function will fail with a dynamic error [see [ERR XTDE1061].

This restriction is unnecessary and we should remove it. As people become more accustomed to using function items, they don't want to hit restrictions like this, and there's really no good implementation reason for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementA change or improvement to an existing featurePR PendingA PR has been raised to resolve this issuePRG-easyCategorized as "easy" at the Prague f2f, 2024PRG-requiredCategorized as "required for 4.0" at the Prague f2f, 2024XSLTAn issue related to XSLT

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions