[Bug 24530] New: Missing streamability result for xsl:map

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

            Bug ID: 24530
           Summary: Missing streamability result for xsl:map
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: minor
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

Under 19.8.4.22 Streamability of xsl:map
(http://www.w3.org/TR/xslt-30/#streamability-xsl-map) there are two numbered
items, the first applying to xsl:map having only xsl:map-entry instructions. 

I think that we should split up the first item and write something along the
lines that we do for similar instructions to make it clearer what happens:

1. If the sequence constructor within the instruction consists exclusively of
xsl:map-entry instructions (and xsl:fallback instructions, which are ignored),
the first of the following applies:
a) if any of the xsl:map-entry children is roaming and/or free-ranging, then
the posture and sweep are roaming and free-ranging.
b) otherwise, the posture is grounded and the sweep is the widest sweep of the
xsl:map-entry children, where the ordering of increasing width is motionless,
consuming, free-ranging.

I know this is purely editorial, and one could argue that rule #2 already
covers this 1.a. version, but I believe it is clearer this way and more in line
with other rules. Note also the addition of the ordering of the sweep, which is
copied to many other rules already (which, as it turns out, mentions
free-ranging, even though free-ranging is often no option anymore at that
stage, leaving only motionless and consuming).

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

Received on Wednesday, 5 February 2014 20:56:42 UTC