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

WD-html-in-xml body declaration

From: Ghadi Shayban <shaybang@yahoo.com>
Date: Fri, 1 Jan 1999 17:37:04 -0800 (PST)
Message-ID: <19990102013704.14784.rocketmail@send104.yahoomail.com>
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 this?

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

Ghadi Shayban

Get your free @yahoo.com address at http://mail.yahoo.com
Received on Friday, 1 January 1999 20:35:47 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:35 UTC