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

ORA-XQ-211-C: "scope of variables" is not defined

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 13:40:34
Message-Id: <200402162140.i1GLeY229220@rgmgw6.us.oracle.com>
To: public-qt-comments@w3.org

SECTION 3.1.2: Variable References

At the end of 3.1.2, it says variable binding is defined on
top of a concept "scope". However, there does not seem to be a central place to define the concept of scope in XQuery spec. Instead, its defintion is scattered in each expression which can
create variable binding scope. 
3.8, 3.11 and 3.12.2 define the scope of a variable explicitly
for FLWOR, Quantified Expr and TypeSwitch respectively, however,
the scope of a variable is not defined for function call.
It would be better if the scope of a variable binding for all kinds of expressions were listed here and made cross references to each
kind expression and give some examples too.

- Steve B.
Received on Monday, 16 February 2004 16:40:37 UTC

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