[Bug 30034] New: [xslt30] xsl:choose streamability : misleading note

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

            Bug ID: 30034
           Summary: [xslt30] xsl:choose streamability : misleading note
           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: ---

The rules for streamability of xsl:choose (19.8.4.10) are correct but the
subsequent Note is misleading: it wrongly suggests that only the first test
condition can be consuming. Replace:

Note:

The effect is to allow any of the following:

1. Every sequence constructor in an xsl:when or xsl:otherwise branch may read
the input stream. In this situation the test expressions must be motionless.
2. Alternatively, the first test expression may consume the input stream, in
which case the sequence constructors (and any subsequent test expressions) must
be motionless.

with

Note:

The effect is to allow either of the following:

1. Any or all of the sequence constructors in xsl:when and xsl:otherwise
branches may be consuming, in which case the test expressions must all be
motionless.

2. Any one of the test conditions may be consuming, in which case all the other
test conditions, and all the sequence constructors, must be motionless.

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

Received on Monday, 19 December 2016 09:11:47 UTC