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