W3C home > Mailing lists > Public > public-xml-er@w3.org > February 2012

Re: Draft - Fixup or Full XML Parser

From: David Carlisle <davidc@nag.co.uk>
Date: Tue, 21 Feb 2012 19:15:13 +0000
Message-ID: <4F43ED41.9060804@nag.co.uk>
To: public-xml-er@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 21 February 2012 19:15:37 GMT