W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2006

[whatwg] The problems with namespaces in text/html

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 05 Nov 2006 23:53:42 +1100
Message-ID: <454DDED6.4030906@lachy.id.au>
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/
Received on Sunday, 5 November 2006 04:53:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC