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 28325 - Signature of map:for-each
Summary: Signature of map:for-each
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (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: 2015-03-24 15:27 UTC by Christian Gruen
Modified: 2016-12-16 19:55 UTC (History)
0 users

See Also:


Attachments

Description Christian Gruen 2015-03-24 15:27:12 UTC
The signature of map:for-each is slightly wrong:

  map:for-each(
    $input as map(*),
    $action as function($key as xs:anyAtomicType, $value as item()*)
  ) as item()*

It should be:

  map:for-each(
    $input as map(*),
    $action as function(xs:anyAtomicType, item()*) as item()*
  ) as item()*
Comment 1 Michael Kay 2015-04-14 22:07:40 UTC
The WG accepted that this needed to be fixed as suggested.