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 21936 - [XSLT 3.0] Is xsl:accumulator/@initial-value optional?
Summary: [XSLT 3.0] Is xsl:accumulator/@initial-value optional?
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Candidate Recommendation
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: 2013-05-06 14:46 UTC by Michael Kay
Modified: 2013-05-23 17:01 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2013-05-06 14:46:07 UTC
In the syntax summary we show xsl:accumulator/@initial-value as optional, but the prose doesn't say what happens if it is omitted. We could say that the default is an empty sequence - provided that is consistent with the @as attribute - or we could say that it is mandatory. I think my preference is for making it mandatory.
Comment 1 Michael Kay 2013-05-23 16:52:41 UTC
Agreed to make this attribute mandatory.
Comment 2 Michael Kay 2013-05-23 17:01:42 UTC
Change has been applied.