On Mon, Feb 03, 2020 at 02:09:03PM +0100, Christian Grün scripsit:
Martin’s suggestion is indeed the cleanest solution I can see.
Thank you!
A curious side note regarding your approach:
where not($value = number('NaN'))
Comparisons with NaN doubles always yield false, no matter if you use XQuery, Java or other languages:
let $d := xs:double('NaN') return $d = $d
Well than I've learned at least one new thing today!
Thank you!
-- Graydon