[Bug 3718] fn:index-of

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3718





------- Comment #3 from simeon@us.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

Received on Tuesday, 19 September 2006 16:39:37 UTC