Michael Kay
Michael Kay
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...
1. The test generated for fn:seconds() is incorrect (can't handle required type xs:decimal?) 2. An incorrect argument is supplied for fn:pin()
§2.7.4 says: If R has an as attribute, the SequenceType S declared by R must be a subtype of T, according to the relationship subtype(S, T) defined in []. There...
Fix #1374
Fix #1316 1. Quantified expressions now allow a type declaration in both XQuery and XPath 2. A type declaration now induces coercion of the supplied value to the required type
We have added type declarations to XPath "for" and "let" expressions, but not to "some" and "every", where they remain XQuery-only. This seems a needless inconsistency.
We say (concerning map constructors) If two or more entries have the [same key value] then a dynamic error is raised [[err:XQDY0137]. I think we should say: if every MapKeyExpr...
The spec says > In a [FunctionCallP], the EQName used for the function name must have local part doc, id, element-with-id, key, or root, and must use the [standard function...