Re: Request change to HTML 4.0 DTD - Empty Table Cells

Jukka Korpela (jkorpela@cc.hut.fi)
Wed, 22 Oct 1997 09:24:35 +0300 (EET DST)


Date: Wed, 22 Oct 1997 09:24:35 +0300 (EET DST)
From: Jukka Korpela <jkorpela@cc.hut.fi>
To: www-html@w3.org
In-Reply-To: <199710212211.QAA01409@underworld.bigpic.com>
Message-ID: <Pine.OSF.3.96.971022091812.16997A-100000@torvi.hut.fi>
Subject: Re: Request change to HTML 4.0 DTD - Empty Table Cells

On Tue, 21 Oct 1997, Neil St.Laurent wrote:

> Would there be any real problem with changing the following element 
> declaration:
> <!ELEMENT (TH|TD) - O (%block)+ -- ... -->
> to:
> <!ELEMENT (TH|TD) - O (%block)* -- ... -->
> To allow for empty table cells?

No problem, but no need either, since
 <!ENTITY % block "%blocklevel; | %inline;">
and
 <!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; |
 %formctrl;">
and #PCDATA allows the empty string.

With "strict" HTML 4.0, it might be different, but the "strict" DTD is
there just to make Purists happy, and Purists use HTML 1.0 anyway. :-)

Yucca