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:
<html>
<body>
asdf
</body>
</html>

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
be............
<!ELEMENT body "&body.content;"> ?


Ghadi Shayban




_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
Received on Friday, 1 January 1999 20:35:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:38 GMT