W3C home > Mailing lists > Public > public-microxml@w3.org > November 2012

Re: Error recovery

From: James Clark <jjc@jclark.com>
Date: Sun, 18 Nov 2012 06:59:12 +0700
Message-ID: <CANz3_EaW08wbyKB-TK1+DaiC7q5duNDSrWXi5RLZa4p7pidxfA@mail.gmail.com>
To: Michael Sokolov <sokolov@falutin.net>
Cc: liam@w3.org, Uche Ogbuji <uche@ogbuji.net>, "public-microxml (public-microxml@w3.org)" <public-microxml@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 18 November 2012 00:00:00 GMT