W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2004

ORA-XQ-140-C: gn:parens: lookahead also needed to distinguish keyword from function

From: Stephen Buxton <Stephen.Buxton@oracle.com>
Date: 16 Feb 04 13:24:35
Message-Id: <200402162124.i1GLOZ227640@rgmgw6.us.oracle.com>
To: public-qt-comments@w3.org

SECTION A.1.1: grammar notes

grammar-note:parens says "a look-ahead of one character is 
required to distinguish function patterns from a QName followed
by a comment."  Look-ahead is also required to distinguish
between a function pattern and a keyword, for example
"for (: whom the bell :) $tolls =" is the beginning of a
ForClause.  That's using my notion of what "ignorable 
whitespace" ought to be, not what it evidently is according 
to A.2 Lexical rules.

- Steve B.
Received on Monday, 16 February 2004 16:24:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:17 UTC