This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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()*
The WG accepted that this needed to be fixed as suggested.