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 10203 - [XSLT 2.1] xsl:on-completion/@select
Summary: [XSLT 2.1] xsl:on-completion/@select
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC Windows NT
: 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: 2010-07-19 18:11 UTC by Michael Kay
Modified: 2011-06-08 21:32 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2010-07-19 18:11:31 UTC
Where the result of xsl:iterate is returned from a function or bound to a variable, one often ends up writing

<xsl:on-completion>
  <xsl:sequence select="@param"/>
</xsl:on-completion>

It would aid brevity and consistency if this could be written

<xsl:on-completion select="@param"/>

The proposal is to allow either a select attribute or a contained sequence constructor (but not both).
Comment 1 Michael Kay 2010-09-23 16:58:37 UTC
Approved to go ahead on 23 Sept 2010
Comment 2 Michael Kay 2010-12-01 18:47:04 UTC
In implementing this change, I decided to make the same change to xsl:break for consistency.
Comment 3 Michael Kay 2011-06-08 21:32:12 UTC
As this feature is now in the status quo text, I am marking the bug closed.