[Bug 21963] Implicit iteration on dynamic function calls

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

--- Comment #6 from Ghislain Fourny <g@28.io> ---
Hi,

I agree with Jonathan's assessment. I think that resilience in case of
heterogeneity in the input sequence is important (i.e., return an empty
sequence rather than raise an error), and follows the XPath paradigm as well. I
also think that consistency between function calls and the ? syntax would be
nice.

This is of course the view from a database/document-store perspective. I am
afraid that this is another example where the use case scenario affects the
design decision: if we reason data-oriented (NoSQL), then iterating makes sense
(even with functions in the data). If we reason pure map-oriented (i.e.,
equivalent of objects as Mike mentions), then raising an error makes sense.

I hope it helps.

Kind regards,
Ghislain

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

Received on Wednesday, 28 May 2014 09:36:53 UTC