[XQuery] lexical leftovers 6

XQuery 1.0: An XML Query Language
W3C Working Draft 12 November 2003

Here are some comments from
http://lists.w3.org/Archives/Public/public-qt-comments/2002Nov/0105.html
that did not receive a response from the WG.

------------------------------------------------------------------------

A.1.2 Lexical Rules

The title "Lexical Rules" doesn't descibe this section very well.
"Lexical State Machine" or "Lexical Automaton" would be more accurate.

------------------------------------------------------------------------
para 1

"[contexts and transitions] is described"
    Change "is" to "are".

"series of states"
    There's no particular ordering on the states, so "set of states"
    would be more accurate.

------------------------------------------------------------------------
para 2

'a transition will "push" [a state] and will later restore that state by
a "pop" ...'
    You're saying that a transition will both push a state and later
    restore it, which is not true. One transition pushes it, and another
    pops it. So you could say something like:
        This state is restored (i.e., made the current state) by a
        subsequent "popState" transition.

------------------------------------------------------------------------
para 3

"the parser productions"
    This phrase conflates the parser and the grammar. Instead, say "the
    productions of A.1".

Also (not a leftover):
"it will be legal in the current EBNF production"
    The idea of "current production" is undefined.
    Maybe replace with "it will be deemed legal by the parser".

------------------------------------------------------------------------

-Michael Dyck

Received on Friday, 13 February 2004 21:24:32 UTC