Hi,
I intended to use the 8.0 documented function map:for-each-entry but it doesn't exist (tried latest snapshot).
So I thought I open modules.zip to look at the code. And, indeed it wasn't there.
Second thing I noticed was a typo in the namespace.
http://www.w3.org/2005/xpath-functsions/map
this should be:
http://www.w3.org/2005/xpath-functions/map
Let me know if you need me to log it somewhere. --Marc