Re: Error recovery

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
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

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