Since I am tired this morning :)
Try perusing this tread for a lively discussion on XQuery comments

arkmail.org/thread/cd2nyugalcffjf3o


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Michael Kay
Sent: Thursday, December 20, 2012 3:30 AM
To: [email protected]
Subject: Re: [xquery-talk] let's comment out a line in XQuery

Clearly there are contexts in which commenting out a line of code will leave a 
query that is syntactically or semantically invalid. Why do you find this 
strange? Why do you expect us to be able to tell you why the remaining query 
throws an error, when you haven't shown us this query?

Or is this a Christmas quiz: invent a query such that removing line 26 will 
cause this error?

Michael Kay
Saxonica

On 20/12/2012 05:45, [email protected] wrote:
> Geez, all I wanted to do was comment out a line:
> (: <coordinates>120.865225,24.181802</coordinates> :) But now I have 
> to make it
> (: 120.865225,24.181802 :)
> or else I get
> $ basex noise.xq > noise.kml
> Stopped at line 26, column 46 in /home/jidanni/mapping/kml/noise.xq:
> [XPTY0004] Single item expected, (120.865225,24.181802, 120.865201,24.181712) 
> found.
> _______________________________________________
> [email protected]
> http://x-query.com/mailman/listinfo/talk
>

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



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

Reply via email to