This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
fn-distinct-values-mixed-args-019 fn-distinct-values-mixed-args-020 fn-distinct-values-mixed-args-021 fn-distinct-values-mixed-args-025 fn-distinct-values-mixed-args-026 xs:float('NaN') does not equal itself, so there should be two values in the result. The first two tests (19-20) look the same, is that intentional? The last two tests (25-26) look the same, is that intentional? - Jerome
I don't believe that there should be two NaNs in these results. F&O, section 15.1.6 fn:distinct-values, says: "For xs:float and xs:double values, positive zero is equal to negative zero and, although NaN does not equal itself, if $arg contains multiple NaN values a single NaN is returned." 19/20 and 25/26 do appear to be duplicates, however.
Agreeing with the response. Withdrawing the comment and closing the bug. - Jerome