=======

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.

This is really a fancy way of saying implementations can apply the atomization 
*before* the comparison and dont have to keep track
of where it all came from.


----------------------------------------
David A. Lee
[email protected]
http://www.xmlsh.org










_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to