#268 min() and max() return untypedAtomic

v8.1.1
closed
nobody
5
2012-10-08
2004-12-03
Michael Kay
No

Given a sequence of untypedAtomic values, min() and
max() should return an xs:double, the result of
converting one of these values to a number. However, if
the min or max is the first one in the sequence, it is
returned unconverted, as an xdt:untypedAtomic value.

Source code fixed.

Discussion