WD-html-in-xml body declaration

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