W3C home > Mailing lists > Public > public-mobileok-checker@w3.org > June 2010

RE: HTML5 documents give critical error: Document not HTML

From: David Smith <da__smith@hotmail.com>
Date: Fri, 4 Jun 2010 14:25:39 +0100
Message-ID: <SNT127-W604E4DC4896D93854195B9A1D20@phx.gbl>
To: <fd@w3.org>
CC: <public-mobileok-checker@w3.org>

Many thanks Francois, I'll follow the bug you created.

> The problem seems to occur when the document cannot be parsed directly 
> as XML and needs to be parsed as HTML (in your case, parsing as HTML is 
> required because you use the entity "&times;", which is entirely 
> correct, but since the XML parser doesn't know anything about HTML and 
> since there's no more reference to a real DTD in HTML5, it doesn't know 
> how to parse it)
> I've created bug 9850 to track this:
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=9850

A bit off topic but... what is the easiest way to allow all HTML Character 
Entity References in XML (to validate)?

>  > Disclaimer (excuses, excuses): Please forgive the linked page above and
>  > site in general, it rarely gets much TLC. Also, has anyone else cringed
>  > or worse when re-reading a post they'd written some time before :|
> That's exactly how I feel when I have to take a look at code written 
> some time before because of a bug like the one above ;)

phew! not the only one then :)

all the best
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
Received on Friday, 4 June 2010 13:26:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:21:21 UTC