W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2004

RE: Variables and FLWOR bindings

From: Michael Kay <mhk@mhk.me.uk>
Date: Sun, 20 Jun 2004 08:48:25 +0100
To: 'Stéphane Mbaye' <stephane.mbaye@gael.fr>, "'XQuery'" <www-ql@w3.org>
Message-Id: <20040620074900.B653AA11C2@frink.w3.org>
The new bindings override the old.
 
There was a lot of debate on this and the final decision was made on a
majority verdict. I was in the minority who wanted it to be an error.
 
Michael Kay

  _____  

From: www-ql-request@w3.org [mailto:www-ql-request@w3.org] On Behalf Of
Stéphane Mbaye
Sent: 19 June 2004 15:34
To: XQuery
Subject: Variables and FLWOR bindings


Dear all,
 
Do the FLWOR bindings override the variables of the static or dynamic
contexts, or should an error be raised ?
 
Example :
 
declare variable $a { 7 } ;
for $a in ( 1 to 10 )
return $a
 
Regards
Stephane Mbaye
Received on Sunday, 20 June 2004 03:49:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:19 GMT