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

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