Bugs pending

This is just a note to record some bugs which I would have submitted had 
Bugzilla not been down.


1.  fn:sort, array:sort

These are marked as context-independent, but depend on deep-equal which 
depends on collations, and implicit timezone.

Given the text

"In addition there are cases where this function may be more flexible 
than the built-in sorting capability for XQuery or XSLT, for example 
when the sort key or collation is chosen dynamically, or when the sort 
key is a sequence of items rather than a single item."

I'm surprised that the collation can't be specified.


2. map:merge

The "use-last" policy for map:merge means that the implementation has to 
process the entire input before it can determine the output.  This used 
to be the case for parse-json, but a change was made to parse-json so 
that it defaulted to "use-first".  Should map:merge not have a similar 
option, and a similar default?


Cheers,

    Tim

Received on Tuesday, 28 June 2016 15:04:00 UTC