Re: Draft - Fixup or Full XML Parser

On 21/02/2012 18:40, Liam R E Quin wrote:
> Right; fetching a DTD is the only plausible way to recover from
> undefined entities, for example.

There are other recovery strategies that are plausible though.
HTML for example expands the ones it knows about and for others it's a
parse error but the & is put back as character data.

This would possibly be a reasonable strategy for xml-er as well,
especially if, as suggested by others, the html5/mathml entity sets were
pre-defined.

David

Received on Tuesday, 21 February 2012 19:15:37 UTC