W3C home > Mailing lists > Public > public-qt-comments@w3.org > July 2014

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

From: <bugzilla@jessica.w3.org>
Date: Tue, 08 Jul 2014 13:46:28 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26289-523@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:47 UTC