This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The second example of distinct-values() (Section 15.1.6.1) is: let $x as xdt:untypedAtomic* := (xdt:untypedAtomic("cherry"), xdt:untypedAtomic("bar"), xdt:untypedAtomic("bar") return fn:distict-values ($x) It should be: let $x as xdt:untypedAtomic* := (xdt:untypedAtomic("cherry"), xdt:untypedAtomic("bar"), xdt:untypedAtomic("bar")) return fn:distict-values ($x) (extra close-bracket on 4th line)