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

Re: Error recovery

From: George Cristian Bina <george@oxygenxml.com>
Date: Sat, 17 Nov 2012 18:04:00 +0200
Message-ID: <50A7B570.40406@oxygenxml.com>
To: James Clark <jjc@jclark.com>
CC: public-microxml@w3.org
Hi James,

We need to keep the Outline tree in oXygen updated as the user changes 
the document so basically we also had to implement an algorithm to 
handle any possible input. In oXygen the /> from the example is 
considered to mark the end of empty element e. The difference however is 
that we do not keep the a="x" attribute, we just skip that so what we do 
is equivalent with an empty e element: <e/>.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

On 11/17/12 4:53 AM, James Clark 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/">
> ?
> James
Received on Saturday, 17 November 2012 16:04:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:12:12 UTC