W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 2001

Re: INS and DEL elements only in BODY element?

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Fri, 08 Jun 2001 13:39:34 +0900
To: DCohen@CompuServe.com
Cc: www-html-editor@w3.org
Message-Id: <20010608133934A.mimasa@w3.mag.keio.ac.jp>
"David Cohen" <DCohen@CompuServe.com> wrote:

> The HTML 4.01 Specification conflicts with the DTD when stating which
> elements may contain INS and DEL elements.  According to the HTML 4.01
> DTD http://w3.org/TR/html4/strict.dtd, only the BODY element may
> contain INS and DEL elements.

No.  The content model of the BODY element is declared as:

  <!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->

The preceding "+" denotes an SGML feature called "inclusion", which
means INS and DEL can appear *anywhere* under the BODY element.
For details, please refer to the SGML standard.

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Friday, 8 June 2001 00:43:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:26 UTC