Re: Error recovery

On 18/11/2012 00:21, John Cowan wrote:> James Clark scripsit:
 >
 >> For the purposes of recovery, I plan to use an extended definition of
 >> nameStartChar:
 >>
 >> nameStartChar ::= [A-Za-z_:$] | [#x80-#x10FFFF]
 >>
 >> So the tree you get would be as if MicroXML allowed colons as a
 >> nameStartChar.
 >
 > I think that's Just Wrong.  An error-correcting parser should produce
 > a valid MicroXML data model,

I'd agree with John there.

David

Received on Sunday, 18 November 2012 00:55:26 UTC