[Bug 29502] New: [xslt 3.0] Streamability of xsl:fork

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

            Bug ID: 29502
           Summary: [xslt 3.0] Streamability of xsl:fork
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          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
  Target Milestone: ---

We give the rules as:

<quote>
19.8.4.20 Streamability of xsl:fork

The posture and sweep of xsl:fork are the first of the following that applies:

1. If there are no child xsl:sequence instructions (other than xsl:fallback),
then grounded and motionless.

2. If there is a child xsl:for-each-group instruction, then the posture and the
sweep of that instruction.

3. If there is a child xsl:sequence instructions whose posture is not grounded,
then roaming and free-ranging.

4. Otherwise, the posture is grounded, and the sweep is the widest sweep of the
xsl:sequence child instructions.
</quote>

[A] If there is an xsl:for-each-group instruction then rule 1 will always
trigger and we never get to rule 2. Simplest fix: put rule 2 before rule 1.

[B] In 19.8.4.19 I suggest changing rule 4 to:

4. If there is an xsl:sort child element <add>and the instruction is not a
child of xsl:fork</add>, then roaming and free-ranging.

[B] In 19.8.4.19 there is a typo: "... presence or absence of call on the
current-group function".

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

Received on Tuesday, 23 February 2016 20:26:08 UTC