W3C home > Mailing lists > Public > public-html@w3.org > February 2010

Re: Legacy Doctype and Doctype Versioning

From: Philip Taylor <pjt47@cam.ac.uk>
Date: Wed, 17 Feb 2010 09:29:43 +0000
Message-ID: <4B7BB707.9020206@cam.ac.uk>
To: Julian Reschke <julian.reschke@gmx.de>
CC: Lachlan Hunt <lachlan.hunt@lachy.id.au>, Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, "public-html@w3.org" <public-html@w3.org>
Julian Reschke wrote:
> On 17.02.2010 10:08, Lachlan Hunt wrote:
>> Leif Halvard Silli wrote:
>>> Not in Safari 4. In the current version of Safari, this variant of the
>>> strict Doctype triggers QuirksMode:
>>> [<!ATTLIST P myattr CDATA #implied>]>
>> This is a bogus DOCTYPE in HTML5 because there is no support for parsing
>> the SGML syntax for the internal subset in the HTML serialisation. [...]
> ...just trying to understand... a DOCTYPE that previously triggered 
> standards mode will now (as in FF trunk + HTML5 parser) get you to 
> Quirks mode?

Yes, but in pre-HTML5 browsers (IE, Firefox 3.6 without html5.enable, 
etc) doctypes will still only be parsed up to the *first* ">", so you 
will get the characters "]>" inserted as text into the body of the 
document, so today you can't use internal subsets in text/html anyway.

Philip Taylor
Received on Wednesday, 17 February 2010 09:30:16 UTC

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