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 24267 - [XSLT 3.0] Streamability of union expressions: both operands climbing
Summary: [XSLT 3.0] Streamability of union expressions: both operands climbing
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 normal
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-01-10 06:35 UTC by Michael Kay
Modified: 2014-05-15 14:00 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2014-01-10 06:35:02 UTC
See section 19.8.7.4, and consider the expression

employee/@name | pensioner/@surname

I would suggest changing rule 3 to make it symmetric with rule 4:

If both operands are climbing, then climbing and the wider of the sweeps of the two operands (Example: @x | */@x)

This would make the above expression climbing and consuming (not roaming/free-ranging as at present). This brings the expression into line with the very similar expressions

(employee|pensioner)/@name

employee/(@name|@surname)
Comment 1 Michael Kay 2014-01-30 18:25:40 UTC
The change was accepted and has been applied.