[whatwg] The problems with namespaces in text/html

Lachlan Hunt lachlan.hunt at lachy.id.au
Sun Nov 5 04:53:42 PST 2006


Elliotte Harold wrote:
> Henri Sivonen wrote:
> 
>> A conforming HTML5 byte stream is *never* a well-formed XML 1.0 byte 
>> stream. 
> 
> Really? Never?

Yes, never!  For one, a conforming HTML 5 (not XHTML 5) document 
requires the DOCTYPE to be <!DOCTYPE html> and that is not well-formed XML.

> There are many HTML 4 documents that are well-formed XML documents? 
> Are these not legal HTML 5 documents?

No.  That's like asking is a valid HTML 3.2 document a conforming HTML 
4.01 document!?  No, it's not!

-- 
Lachlan Hunt
http://lachy.id.au/



More information about the whatwg mailing list