Comment #3 from simeon (AT) us (DOT) ibm.com 2006-09-19 16:39
I think I agree with both Tim and Michael, if they allow me. The fact that the
definition relies on eq makes it unambiguous. i.e., xs:untypedAtomic gets cast
to xs:string. It would be worth spelling it out explicitely as all other
functions do (fn:index-of seems to be quite similar to fn:distinct-values to
that respect). So using xs:string for the PrototypicalValue as Tim suggests in
his last comment is the right thing to do here.
- Jerome