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

[whatwg] The problems with namespaces in text/html

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sun, 5 Nov 2006 16:15:11 +0200
Message-ID: <47CAB514-8F51-4360-BC5D-3E9D6577863A@iki.fi>
On Nov 5, 2006, at 15:57, Elliotte Harold wrote:

> Bjoern Hoehrmann wrote:
>> * Lachlan Hunt wrote:
>>> 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.
>> Yes it is.
>
> Good catch. I forgot that.

I was mistaken.

> Is there anything else that stops every HTML5 document from being a  
> well-formed XML document?

Case-insensitivity and empty elements for example.

But in any case, even if an HTML5 byte stream happens to be parseable  
as XML 1.0, you get the wrong infoset if you use an XML parser  
instead of an HTML5 parser.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Sunday, 5 November 2006 06:15:11 UTC

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