Re: [XQuery] A.2.2 Lexical Rules: pattern conflicts

"Kay, Michael" wrote:
> 
> I really think we need to distinguish specifying the language from
> writing a parser. The BNF here is absolutely clear, and it's up to the
> implementor whether a keyword like "context" is recognized by the lexer
> because it's in some special state, or whether the lexer simply returns
> a QName to the parser, which checks to see if the QName represents the
> string "context".
> 
> I would love to see us get rid of lexical states entirely from the
> specification of the language, and reduce them to an appendix on
> "implementation hints".

I agree completely.

-Michael Dyck

Received on Thursday, 29 January 2004 17:23:30 UTC