W3C home > Mailing lists > Public > www-ql@w3.org > July to September 2004

Empty sequences in "for" clause bindings

From: Stéphane Mbaye <stephane.mbaye@gael.fr>
Date: Thu, 8 Jul 2004 18:58:39 +0200
To: "XQuery" <www-ql@w3.org>
Message-ID: <GFEAJGIFEMEPLOOAHLMPCEINCJAA.stephane.mbaye@gael.fr>
Dear all,
 
how “for” clause tuples are generated when some of the bounded variables match the empty sequence ?
 
For example should the following query return (1, 2, 3), an error or anything else ?
 
for $a in (), $b in (1, 2, 3)
return ($a, $b)
 
 
Regards
 
 
Stéphane
Mbaye
  _____  

 
GAEL Consultant 
Cité Descartes
18, rue Albert Einstein
77420 Champs-sur-Marne
France 
Software Director
 
mailto:stephane.mbaye@gael.fr
http://www.gael.fr 
 
 
tel +33-(0)1 64 73 99 55
fax +33-(0)1 64 73 51 60
 
 
 
 
Received on Thursday, 8 July 2004 13:02:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:17:16 UTC