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 26289 - [xslt 3.0] Binding of $value in accumulator rules
Summary: [xslt 3.0] Binding of $value in accumulator rules
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-08 13:46 UTC by Michael Kay
Modified: 2014-07-27 20:04 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2014-07-08 13:46:28 UTC
We state in ยง18.2.3 2(d):

Return the value of the expression in the next-value attribute of Q, evaluating the expression with a singleton focus set to $event("node") and with a dynamic context that binds the variable whose name is the accumulator name to the value $value

The last phrase is nonsense. It should say "that binds the variable whose name is Q{}value to the value of the argument $value".

Since this is a formal definition we should perhaps define the static and dynamic context rather more pedantically. As a minimum, we should make it clear that the argument $event is NOT available directly.
Comment 1 Michael Kay 2014-07-27 20:03:53 UTC
At WG direction, fixed editorially.