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

Re: Validating XHTML5 with XML entities

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 26 Aug 2008 22:15:23 +0000 (UTC)
To: Jeff Schiller <codedread@gmail.com>
Cc: HTML WG <public-html@w3.org>
Message-ID: <Pine.LNX.4.62.0808262213270.7044@hixie.dreamhostps.com>

On Tue, 26 Aug 2008, Jeff Schiller wrote:
> 
> The spec states that XHTML5 documents do not require a DOCTYPE [1].
> 
> A DOCTYPE must consist of "<!DOCTYPE HTML>" (case-insensitive) [2]
> [2] http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#the-doctype

The second requirement only applies to the text/html serialisation. There 
is no constraint on what XML-level syntax (like the DOCTYPE in XML 
serialisations of HTML5 documents) can be or do beyond what the XML 
specification requires.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 26 August 2008 22:15:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:22 GMT