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

Re: Online error recovery implementation

From: James Clark <jjc@jclark.com>
Date: Mon, 26 Nov 2012 20:47:15 +0700
Message-ID: <3252334290685325828@unknownmsgid>
To: Michael Sokolov <sokolov@falutin.net>
Cc: "public-microxml@w3.org" <public-microxml@w3.org>
The write-up is here:

   https://github.com/jclark/microxml-er/blob/master/recovery.md

HTML-style boolean attributes is on the TODO list.

James

On Nov 26, 2012, at 7:30 PM, Michael Sokolov <sokolov@falutin.net> wrote:

On 11/26/2012 12:40 AM, James Clark wrote:

I wrote an implementation of my proposed error recovery method in
JavaScript.  You can play with it online here:


http://jclark.github.com/microxml-er/


The specificatation and implementation is here:


https://github.com/jclark/microxml-er/


This implementation is designed primarily to validate the specification. It
thus tries to be as simple and as close as possible to the specification.
 It is not designed to have good performance. It also does not try to
detect invalid MicroXML documents.


James

Nice! thanks.   I noticed that:

<doc att=""></doc>

is not the same as

<doc att></doc>

which is treated as a single text node, I think.

Maybe it's worth trying to recognize those old-style HTML attributes?

Also wondering if you have a write-up or description of any sort?

-Mike
Received on Monday, 26 November 2012 13:44:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 November 2012 13:44:51 GMT