[Bug 26289] New: [xslt 3.0] Binding of $value in accumulator rules

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26289

            Bug ID: 26289
           Summary: [xslt 3.0] Binding of $value in accumulator rules
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 8 July 2014 13:46:30 UTC