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

"Garbage"

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 23 Feb 2012 09:48:54 +0100
To: "Jeni Tennison" <jeni@jenitennison.com>, "Innovimax W3C" <innovimax+w3c@gmail.com>
Cc: "Norman Walsh" <ndw@nwalsh.com>, "W3C XML-ER Community Group" <public-xml-er@w3.org>
Message-ID: <op.v94irss064w2qv@annevk-macbookpro.local>
On Thu, 23 Feb 2012 00:30:12 +0100, Innovimax W3C  
<innovimax+w3c@gmail.com> wrote:
> But one nasty consequence is that XML-ER parser will have to contain
> an HTML5 parser...

I don't think we want to go there. If there is never a start tag the  
document will just end up being empty. Either that or we do the implied  
root element element idea. Either way is fine I think. Such an approach  
works even for the weird scenario where image/jpeg is mislabeled as XML.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 23 February 2012 08:49:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 23 February 2012 08:49:35 GMT