[XQuery] MS-XQ-LC1-118

Section 3.12.2 Typeswitch	
Editorial	

"A case or default clause may optionally specify a variable name. Within
the return expression of the case or default clause, this variable name
is bound to the value of the operand expression, and its static type is
considered to be the SequenceType named in the case or default clause.
If the return expression does not depend on the value of the operand
expression, the variable may be omitted from the case or default
clause." : Please rewrite along the line of: "If return depends on
value, Variable is required, otherwise it does not matter"

Received on Monday, 16 February 2004 06:23:22 UTC