[Bug 5727] [XQuery] Syntax ambiguities with leading "/"

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5727





--- Comment #13 from Michael Kay <mike@saxonica.com>  2008-09-03 10:41:34 ---
The text in comment #12 is fine for XQuery, but the phrase

<phrase>
and the "<" token could be either an operator or the start of a
DirectConstructor
</phrase>

needs to be omitted for XPath.

This solution leaves the minor problem that (/ < a) is legal in XPath but not
in XQuery. Fortunately it's a very improbable expression.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 3 September 2008 10:42:08 UTC