Community
Participate
Working Groups
Build Identifier: I20090313-0100 given the following XML fragment, <X> <a>1</a> <a>2</a> <a>3</a> <a>4</a> </X> distinct-values(a) {context node being "X"} doesn't give right results if element "a" was validated by the type xs:integer (or any other atomic type). To solve this, we need to atomize the input in the implementation of fn:distinct-values. This should work similarly to fn:max for example. I'll shortly be committing an improvement for this. Reproducible: Always
committed fixes for this bug report, both on HEAD and service branch. also committed few test cases. i'm marking this issue resolved.