RE: HTML5 documents give critical error: Document not HTML

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 "×", 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
Dave
 		 	   		  
_________________________________________________________________
http://clk.atdmt.com/UKM/go/197222280/direct/01/
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