Peng,

On 3 Nov 2011, at 5:59 , Peng Yu wrote:

>> xquery version "3.0";
> 
> Is the above line necessary? I use the following command, where
> main.xq include all the XQuery code except the above line. Everything
> works fine. (httpclient.sh is from eXist-db)
> 
> httpclient.pl -u admin -p FyDi3QfBON -q < main.xq

for the XQuery3 additions it is required (switch, try-catch), the group by is 
not fully xquery3, and does not need the clause.

but why leave it out if it is suggested to add?

cheers

Dannes

--
Dannes Wessels
eXist-db Open Source Native XML Database
e: [email protected]
w: http://www.exist-db.org 






_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk

Reply via email to