W3C home > Mailing lists > Public > www-ql@w3.org > April to June 2002

ambiguity in XQuery grammar

From: Damien Fisher <damien@sodatech.com>
Date: Thu, 30 May 2002 16:40:13 +1000
Message-ID: <008201c207a4$ec604bc0$7b444e81@maths.usyd.edu.au>
To: <www-ql@w3.org>
There appears to be an ambiguity in the current draft specification's grammar, which I was hoping someone could resolve for me.

Consider:

1 instance of xs:integer+ +1

Is this equivalent to:

(1 instance of xs:integer+) +1

or:

(1 instance of xs:integer) + (+1)

?

I would suggest changing the syntax for InstanceOfExpr so parentheses are put around the SequenceType.
Received on Thursday, 30 May 2002 04:38:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 22 July 2006 00:10:18 GMT