- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Thu, 30 May 2002 20:23:25 +0200
- To: Damien Fisher <damien@sodatech.com>, www-ql@w3.org
Received on Thursday, 30 May 2002 14:24:10 UTC
It is indeed an ambiguity, and I've been concerned about it too, though I think it can be easily resolved by adding some kind of "greedy parsing" rule akin to the "greedy tokenizing" rule. Michael Kay -----Original Message----- From: Damien Fisher [mailto:damien@sodatech.com] Sent: 30 May 2002 07:40 To: www-ql@w3.org Subject: ambiguity in XQuery grammar 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 14:24:10 UTC