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

WD-html-in-xml body declaration

From: Ghadi Shayban <shaybang@ols.net>
Date: Thu, 31 Dec 1998 23:48:39 -0500 (EST)
Message-ID: <001301be3542$834c9360$670d1bce@shaybang>
To: <www-html@w3.org>
Correct me if I'm wrong:

In HTML 4.0, the body element couldn't have character data directly inside
of it.  For example, this is illegal:

In WD-html-in-xml, these pieces of the DTD define the body element:
<!ENTITY % Block "(#PCDATA | %block; | %misc;)*">
<!ENTITY % body.content "%Block;">
<!ELEMENT body %body.content;>

That states that the body element can have cdata directly inside.  This
seems like a significant change from HTML 4.  Can someone enlighten me on

There is also an error, I think.  Shouldn't the body declaration
<!ELEMENT body "&body.content;"> ?

Ghadi Shayban
Received on Monday, 4 January 1999 03:06:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:49 UTC