On Wed, 2014-04-02 at 17:13 +0100, Ihe Onwuka wrote: > Excerpt from the 3.13 of the XQuery 3.0 specification. > [...] > XPath has general and value based comparisons and the spec doesn't say > what type of comparison is operative for comparisons on the switch > operand expression.
A little further down you'll see, 4. The atomized value of the switch operand expression is compared with the atomized value of the SwitchCaseOperand using the fn:deep-equal function, with the default collation from the static context. Liam -- Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/ Ankh: irc.sorcery.net irc.gnome.org freenode/#xml _______________________________________________ talk@x-query.com http://x-query.com/mailman/listinfo/talk