Re: Error recovery

On Sun, Nov 18, 2012 at 5:59 AM, Michael Sokolov <sokolov@falutin.net>wrote:

Have you decided how (whether) to recover when you find colons in names?
>

The parser always recovers: it produces a tree for any input whatsoever.

For the purposes of recovery, I plan to use an extended definition of
nameStartChar:

nameStartChar ::= [A-Za-z_:$] | [#x80-#x10FFFF]

So the tree you get would be as if MicroXML allowed colons as a
nameStartChar.

James

Received on Sunday, 18 November 2012 00:00:00 UTC