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

Received on Wednesday, 22 October 1997 02:24:54 UTC