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

Re: Updated DOCTYPE versioning change proposal (ISSUE-4)

From: Kornel Lesiński <kornel@geekhood.net>
Date: Wed, 17 Feb 2010 15:48:47 +0000
Cc: public-html@w3.org
Message-Id: <178DAE45-AC38-4679-88C4-F478B0F0590C@geekhood.net>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
On 17 Feb 2010, at 14:34, Leif Halvard Silli wrote:

> Kornel Lesiński, Wed, 17 Feb 2010 14:03:05 +0000:
>>>> It also doesn't make sense to claim that a page that uses the 
>>>> internal subset is "valid HTML4", since you could inject pretty much 
>>>> anything via the internal subset.
>>> Again a theoretical point.
>> How is internal subset in text/html anything but theoretical?
>> It doesn't work in any browser, and AFAIK it never did.
> It works fine in any browser and AFAIK it always did:
> http://www.målform.no/html4-or-html5/index

By "work" I mean doing what internal subset was defined to do in SGML, rather than being misinterpreted or completely ignored at best.

In text/html parsed by browsers you can't change HTML content model (e.g. you can't create new empty element), you can't define new entities, fixed attributes won't be added to DOM.

i.e. in text/html you are unable to use internal subset for its purpose. At best you can use it to entertain users validating your page in validators that are removed from reality.

regards, Kornel
Received on Wednesday, 17 February 2010 15:49:32 UTC

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