Re: Clean up the "Three flavor" Mess

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 UTC