RE: Variables and FLWOR bindings

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 UTC