[Bug 21963] Implicit iteration on dynamic function calls

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

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
I'm against doing this.

I think the main use case is for selection from an array of maps. This can be
done using the "?" operator: employees[?location='Germany']?surname.

An argument against is as follows: Suppose we have a map of functions (XDM's
equivalent of an object); so for example $complex?multiply($c1, $c2) selects
the multiply function on complex numbers. The effect of this proposal would be
that if you misspell "multiply", the "?" selector selects no function and you
get an empty sequence back rather than an error.

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

Received on Tuesday, 20 May 2014 16:13:30 UTC