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

Re: Error recovery

From: Uche Ogbuji <uche@ogbuji.net>
Date: Sat, 17 Nov 2012 13:27:09 -0700
Message-ID: <CAPJCua0r+gwR=OnQL=SAe4EwHYPCe3NBW=MppEz+K77Gd_9bbg@mail.gmail.com>
To: James Clark <jjc@jclark.com>
Cc: "public-microxml (public-microxml@w3.org)" <public-microxml@w3.org>
On Fri, Nov 16, 2012 at 7:53 PM, James Clark <jjc@jclark.com> wrote:

> I have been writing a parser that does error recovery.
>
> I have a case where I can't make up my mind which behaviour I prefer and I
> would like to get this group's input.
>
> Do you prefer
>
>   <e a=x/>
>
> to be treated as
>
> (a) <e a="x"/>, or
>
> (b) <e a="x/">
>
> ?
>

I prefer (a) since it's the likeliest interpretation of the author's
intention.


-- 
Uche Ogbuji                       http://uche.ogbuji.net
Founding Partner, Zepheira        http://zepheira.com
http://wearekin.org
http://www.thenervousbreakdown.com/author/uogbuji/
http://copia.ogbuji.net
http://www.linkedin.com/in/ucheogbuji
http://twitter.com/uogbuji
Received on Saturday, 17 November 2012 20:27:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 17 November 2012 20:27:38 GMT