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. _______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
