[Bug 24342] New: Non-grouping variable references are not streamable anymore

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

            Bug ID: 24342
           Summary: Non-grouping variable references are not streamable
                    anymore
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: major
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

This bug was first raised on the xsl-wg mailing list [1]. I copy most of that
mail here for convenience of tracking the details:

It seems that in the current Draft variable references of any kind, except when
bound to bind-group/-source, are not allowed anymore under the guaranteed
streaming rules. I.e.

let $a := 1
return $a

for $i in 1 to 20 return $i

<xsl:variable name="b" select="copy-of(foo)" />
<xsl:sequence select="$b/bar" />

are all disallowed now. The reason is that under [1], we now have a list of
rules "first of the following that apply" that have 1, 2 and 3 talk about
bind-group/-source and 4 being "otherwise roaming and free-ranging". Just
beneath that, there's a line outside the list that says "otherwise, the sweep
of the expression is motionless".

[1] https://lists.w3.org/Archives/Member/w3c-xsl-wg/2014Jan/0014.html

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

Received on Tuesday, 21 January 2014 11:52:59 UTC