[Bug 1412] [XQuery] Grammar: Allowing comments between $ and QName

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





------- Additional Comments From mike@saxonica.com  2005-05-13 20:43 -------
This comment has been made a number of times, and I've never understood the
rationale for it. We allow whitespace after the @ in @att, and before the "(" in
text(), in fact everywhere where names appear adjacent to punctuation symbols.
Why make an exception for this one?

XPath 1.0 had this restriction, as it happens, and I was very pleased to delete
the dozen lines of contorted code in my parser that enforced it.

Received on Friday, 13 May 2005 20:43:07 UTC