W3C home > Mailing lists > Public > www-validator@w3.org > April 2005

Re: Entity declarations in DOCTYPE section

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Thu, 07 Apr 2005 10:55:45 +0200
Message-ID: <4254F591.5060801@Rhul.Ac.Uk>
Cc: Anderson Santana de Oliveira <anderson.Santana-De-Oliveira@loria.fr>, www-validator@w3.org

Olivier Thereaux wrote:


 >   From a DTD standpoint, it's probably legal, but it's a behaviour
 > discouraged by HTML
 > [[ For reasons of interoperability, authors must not "extend" HTML through
 > the available SGML mechanisms (e.g., extending the DTD, adding a new set
 > of entity definitions, etc.).

Could I query the exact and intended meaning of the penultimate example ?
At a time when Netscape 4 was still a mainstream browser, I augmented
the standard HTML 4.01 DTD to accommodate the quirky four "margin"
attributes of <BODY> and used the following DOCTYPE in all documents :

     <!DOCTYPE HTML PUBLIC "-//PT//DTD HTML 4.01 Augmented//EN" "http://www.rhul.ac.uk/shared/dtds/HTML-4.01-Augmented.dtd">

Was I, in so doing, breaching the rule that you cite ?  I notice
that the prose uses the phrase "must not", even though it appears in
what might otherwise be interpreted as an advisory context.

Philip Taylor.
Received on Thursday, 7 April 2005 08:56:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:45 UTC