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

Re: Validating XHTML5 with XML entities

From: Jeff Schiller <codedread@gmail.com>
Date: Tue, 26 Aug 2008 18:53:33 -0500
Message-ID: <da131fde0808261653t917f52ev604010326b49bcd1@mail.gmail.com>
To: "Ian Hickson" <ian@hixie.ch>
Cc: "HTML WG" <public-html@w3.org>

Thank you for the clarification, that helps.

Can you clarify how user agents and validators will know content is
XHTML 5 as opposed to XHTML 1.1?  Particularly if the DOCTYPE can go
missing, I'm a bit confused by this.

(In particular, I'm having trouble with the experimental HTML5
validator on the W3C site - that's how I started investigating this a
little).

Thanks,
Jeff

On Tue, Aug 26, 2008 at 5:15 PM, Ian Hickson <ian@hixie.ch> wrote:
> 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 23:54:14 GMT

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