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


            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