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

[Bug 26268] New: [xslt 3.0] Context for xsl:accumulator/@initial-value

From: <bugzilla@jessica.w3.org>
Date: Fri, 04 Jul 2014 20:57:14 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-26268-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26268

            Bug ID: 26268
           Summary: [xslt 3.0] Context for xsl:accumulator/@initial-value
           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 say that the context for xsl:accumulator/@initial-value is the "same as the
context for global variables" (i.e., the global context item).

We also say that if the accumulator is streamable, the initial-value expression
must be grounded and motionless.

These statements are contradictory. The expression only needs to be grounded
and motionless if it is evaluated with the document node of the streamed
document as the focus.

It actually makes more sense to me for the focus to be the document node of the
streamed document to which the accumulator applies. For example, the initial
value could then be the base URI of that document.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 4 July 2014 20:57:15 UTC

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