Re: Error recovery

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 UTC