[Bug 29918] [FO31] map:find ordering constraint prevents streaming evaluation

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29918

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
I'm not convinced that there is a requirement for streamed evaluation of maps,
since I think they are by their nature direct-access data structures. However,
if we accept this requirement we could change the rule to read:

<quote>
To process an item that is a map, then for each key-value entry (K, V) in the
map (in ·implementation-dependent· order), perform both the following steps, in
order:

 a. If K is the same key as $key, then add V as a new member to the end of the
result array.

 b. Process V (which is, in general, a sequence).
</quote>

We could also relax the rules on ordering further, but this goes explicitly
against a previous decision of the WG which wanted the order to be as
predictable as possible.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 31 October 2016 18:02:01 UTC