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 22805 - [xslt 3.0] Accumulator example doesn't work
Summary: [xslt 3.0] Accumulator example doesn't work
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working 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: 2013-07-25 17:37 UTC by Michael Kay
Modified: 2014-05-15 14:00 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2013-07-25 17:37:39 UTC
The first example of accumulators in 18.6 acknowledges that it doesn't work, saying "This example assumes that in streaming mode, string(.) is permitted for a leaf node (requiring some lookahead). This is not currently the case."
Comment 1 Michael Kay 2013-08-12 16:29:18 UTC
The example has been fixed by binding the value of the element to a variable, making the code streamable.