[xquery-talk] min max and mix
ihe.onwuka at gmail.com
Mon Feb 10 04:57:13 PST 2014
On Mon, Feb 10, 2014 at 12:53 PM, David Lee <dlee at calldei.com> wrote:
> This is documented as implementation dependent, so any experiments are limited in value to that particular implementation version.
>> Selects an item from the input sequence $arg whose value is greater
>> than or equal to the value of every other item in the input sequence.
>> If there are two or more such items, then the specific item whose
>> value is returned is *implementation dependent*.
> Even if it were not system dependent there is no defined way to take an atomic value and figure out which node it came from,
> so, IMHO, the statement of implementation dependency is only there because its also non-testable ...
> even given this ...
> max( ( <a>1.0</a> , <b>1.00</b> ) ) => 1
> a or b ? good luck.
...again exactly why I was curious... (used to be a tester), your test
case is better than the one I tried.
More information about the talk