W3C home > Mailing lists > Public > public-html@w3.org > July 2008

Re: Doctype on text/html Pages (Was: [author-guide] Character Entity References Chart)

From: Robert J Burns <rob@robburns.com>
Date: Tue, 22 Jul 2008 20:50:35 +0300
Cc: Julian Reschke <julian.reschke@gmx.de>
Message-Id: <801D3302-39D4-476F-9AE7-F6F09EB198B6@robburns.com>
To: public-html WG <public-html@w3.org>

Hi Julian,

On Jul 22, 2008, at 7:13 PM, Julian Reschke wrote:

> Robert J Burns wrote:
>> ...
>> For an XML implementation to process HTML5 it has to know when it  
>> is encountering HTML5 (or any similar HTML serialized as XML).  
>> Without a mechanism to do that, the processor will not know it is  
>> HTML. In documents conforming to the Namespaces in XML  
>> recommendation, the HTML namespace URI provides that information to  
>> the processor. In non-namespaced documents or in non-namespace  
>> aware processing applications, there has to be another mechanism.  
>> One mechanism might be ...
> Not sure what you're talking about. XHTML 1.* and the XML  
> serialization of HTML5 always use XML namespaces.
> What am I missing?

I guess you're right about that. We do require namespace processing to  
process HTML5. However, that gets away from the thrust of the message  
anyway. The point is that even if we allow the doctype to be omitted,  
should we even be discussing the option for authors to use a different  
doctype that doesn't relate to this specification (using a different  
doctype implies not HTML5 so its outside our scope). Why not instead  
say explicitly the following?

"XML serialized HTML5 Documents may omit the doctype. When including a  
doctype, authors must use "<!DOCTYPE html>" (just like the text/html  

And I have to reiterate this. The issue of the doctype has got  
absolutely nothing to do with us requiring XML serialization  
processing HTML5 applications to handle all of the same named  
character references as we require of the text/html serialized  
processing applications.

Take care,
Received on Tuesday, 22 July 2008 17:51:17 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:35 UTC