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 MbayeReceived on Sunday, 20 June 2004 03:49:01 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:43:43 UTC