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

Re: WD-html-in-xml body declaration

From: Frank Boumphrey <bckman@ix.netcom.com>
Date: Sun, 3 Jan 1999 01:10:13 -0500
Message-ID: <002601be36df$c410e100$99acdccf@ix.netcom.com>
To: "tobi" <tobi@c-base.org>, "Ghadi Shayban" <shaybang@yahoo.com>
Cc: <www-html@w3.org>
No Dir is correct,
Here are the relevant parts of the two DTD's 

Here is the element declaration from strict:
<!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->

And here it is from loose:

<!ELEMENT BODY O O (%flow;)* +(INS|DEL) -- document body -->

flow includes inline which allows PCDATA

<!ENTITY % inline "#PCDATA | %fontstyle; etc.

Frank

Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
CoAuthor:  XML applications from Wrox Press, www.wrox.com
----- Original Message ----- 
From: tobi <tobi@c-base.org>
To: Ghadi Shayban <shaybang@yahoo.com>
Cc: <www-html@w3.org>
Sent: Saturday, January 02, 1999 2:46 PM
Subject: Re: WD-html-in-xml body declaration


>On Fri, 1 Jan 1999, Ghadi Shayban wrote:
>
>> 
>> 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>
>
>That is wrong, you can define always in all version of HTML characters
>inside the <BODY> tags ....!
>
>c-ya 2B!!!
>
>"Microsoft making contracts with educational institutions is like
>                         Satan selling poisoned candy to children."
>                                          - -- Shawn T. Amundson
>
>                               --= tobi@c-base.org =--
>                    .oO http://members.tripod.com/~crazy_face/ Oo.       
>           ..ooOO http://www.geocities.com/TimesSquare/Realm/6157/ OOoo..
>                  D89B 1920 751D A259 F89B  4CDA CE85 6688 6A26 6BB5
>
>
Received on Sunday, 3 January 1999 01:13:42 GMT

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