This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26800 - [XT30] evaluate-007, fn:current is not allowed in xsl:evaluate
Summary: [XT30] evaluate-007, fn:current is not allowed in xsl:evaluate
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2014-09-15 00:04 UTC by Abel Braaksma
Modified: 2015-05-06 21:14 UTC (History)
0 users

See Also:


Description Abel Braaksma 2014-09-15 00:04:21 UTC
As in the title. The test tests fn:current inside xsl:evaluate, but per the section on the static context, that function is not allowed in dynamic evaluations:

Function signatures: All core functions; constructor functions for named simple types included in the in-scope schema definitions; all user-defined functions and accumulator functions present in the containing package provided their visibility is not hidden or private; and an implementation-defined set of extension functions.

Note that this set deliberately excludes XSLT-defined functions in the standard function namespace including for example, key, current-group, and system-property A list of these functions is in G List of XSLT-defined functions.
Comment 1 Abel Braaksma 2014-09-15 02:26:34 UTC
Fixed in Rev#680 and Rev#682.
Comment 2 Abel Braaksma 2015-05-06 21:14:12 UTC
Was resolved > 30 days ago, closing.