W3C home > Mailing lists > Public > www-html@w3.org > April 1999

Re: Clean up the "Three flavor" Mess

From: Nir Dagan <nir@nirdagan.com>
Date: Mon, 26 Apr 1999 22:58:55 +0300 (Israel Daylight Time)
To: www-html@w3.org
Message-ID: <Pine.WNT.4.10.9904262242140.-969541@uymfdlvk>
Kepping out of the disscussion whether we need the 
transitional DTD anymore, there were both transitional and a frameset
DTDs because:

<!--
  The content model for HTML documents depends on whether the HEAD is
  followed by a FRAMESET or BODY element. The widespread omission of
  the BODY start tag makes it impractical to define the content model
  without the use of a marked section.
-->

from http://www.w3.org/TR/REC-html40/sgml/loosedtd.html

The problem with 
<!ELEMENT HTML O O (HEAD, (BODY|FRAMESET))>
is that this makes it invalid to ommit the BODY start tag 
in non-frameset documents.

In XHTML this is not an issue, since all start and end tags are required,
so the transitional and frameset can be made into one DTD.
 
regards,

Nir Dagan

http://www.nirdagan.com
mailto:nir@nirdagan.com
tel:+972-2-588-3143

"There is nothing quite so practical as a good theory."
-- A. Einstein
Received on Monday, 26 April 1999 16:03:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:39 GMT