W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-XQ-209-C: what is the type of a variable in a default clause?

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 13:38:25
Message-Id: <200402162138.i1GLcPG14932@rgmgw5.us.oracle.com>
To: public-qt-comments@w3.org

SECTION 3.12.2: Typeswitch

fourth para after the BNF begins: "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."
I can see the SequenceType specified in CaseClause, but the 
default clause has no syntax to specify a sequence type (and probably
should not). My guess is that the type is the most general (item()*).
This needs to be clarified.

- Steve B.
Received on Monday, 16 February 2004 16:38:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC