qtspecs
qtspecs copied to clipboard
Annotations: duplicate names
The function fn:function-annotations
returns a map from QNames to values, which rather assumes that a function cannot have two annotations with the same name. But there is nothing in either the data model or the XQuery language spec that imposes this restriction.