On Mon, Feb 10, 2014 at 12:53 PM, David Lee <[email protected]> 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*.
>
>
> http://www.w3.org/TR/xpath-functions/#func-max
> ============
> [DAL:]
> 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.
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to