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 28320 - [xslt 3.0] Incorrect accumulator example
Summary: [xslt 3.0] Incorrect accumulator example
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: 2015-03-23 18:12 UTC by Michael Kay
Modified: 2015-10-29 09:50 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2015-03-23 18:12:15 UTC
The "histogram" accumulator example in section 18.2.3, which also appears in slightly modified form in test case accumulator-043, is incorrect: the map that is constructed has type map(xs:untypedAtomic, xs:integer) rather than map(xs:string, xs:integer), and the test as written therefore fails with a type error.
Comment 1 Michael Kay 2015-04-16 22:21:57 UTC
The example has been corrected, and a note has been added to explain the pitfall.