[xquery-talk] Compared to what?

Ihe Onwuka ihe.onwuka at gmail.com
Wed Apr 2 08:13:52 PST 2014

Excerpt from the 3.13 of the XQuery 3.0 specification.

"In a switch expression, the switch keyword is followed by an
expression enclosed in parentheses, called the switch operand
expression. This is the expression whose value is being compared."

The issue is the last word - compared.

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.

More information about the talk mailing list