This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24530 - Missing streamability result for xsl:map
Summary: Missing streamability result for xsl:map
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC Windows NT
: P2 minor
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-05 20:56 UTC by Abel Braaksma
Modified: 2014-02-17 13:17 UTC (History)
1 user (show)

See Also:


Attachments

Description Abel Braaksma 2014-02-05 20:56:40 UTC
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).
Comment 1 C. M. Sperberg-McQueen 2014-02-12 09:37:34 UTC
The WG discussed this during the ftf meeting in Prague and decided to leave this change to the discretion of the editor.
Comment 2 Michael Kay 2014-02-17 13:17:00 UTC
Resolved as suggested in the original post.