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 30376 - [XSLT30] Prose on delaying accumulator errors until invoked does not mention errors arising from the sequence constructor
Summary: [XSLT30] Prose on delaying accumulator errors until invoked does not mention ...
Status: NEW
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Recommendation
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: 2018-12-17 04:14 UTC by Abel Braaksma
Modified: 2019-02-26 01:34 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2018-12-17 04:14:55 UTC
The text in section 18.2.5 is:

"If a dynamic error occurs when evaluating the initial-value expression of xsl:accumulator, or the select expression of xsl:accumulator-rule, then..."

However, an accumulator rule can also have a sequence constructor, instead of a select expression.

I think this is implied (I mean, it doesn't make sense if we meant an error in the sequence constructor should be raised in an unpredictable way), but I suggest we make it explicit.

I propose something along those lines:

"If a dynamic error occurs when evaluating the initial-value expression of xsl:accumulator, or the select expression or sequence constructor of xsl:accumulator-rule, then..."
Comment 2 Abel Braaksma 2019-02-26 01:34:51 UTC
I agree with the fix as written in the erratum.