- might this mechanism not be a little bit misleading ? Indeed, I was
expecting somehow that map:key(map:new({<node>:""})) to be an identity for <node>.
You’ve got me stumped here. The talk@xquery.com mailing list may be the best place to get more details on this.
- A remark of minor importance : if distinct-values() is used to select
keys, the map:module shouldn't accept sequences as keys ? If I try a map:new({("dummy","dummy"):""}), I am actually raising a XPTY0004 error.
I guess you answered your own question? ;)
All the best, Christian