RE: XML declaration in XHTML causes problems

> From:	Frank Tobin [SMTP:ftobin@uiuc.edu]
> 
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd:
> 
>     <!ELEMENT body %Block;>
>     <!ENTITY % Block "(%block; | form | %misc;)*">
> 
> So, unless I'm mistaken, there must be zero or more children in a %Block.
> Hence, a <body> may be empty.
	[DJW:]  
	Given that the intention of XHTML 1.0 is not to change
	anything in HTML 4.01 that can be accurately represented
	in XML and that the HTML 4.01 content model has a "+" closure
	operator in the content model, requiring either a script 
	or %block element to be present, and %block cannot be
	empty, I would say the XHTML DTD is broken.

> I would see no reason for demanding there be children of <body>'s anyways.
	[DJW:]  
	Many people do not like completely blank pages (although, by
	allowing SCRIPT, the HTML 4.01 strict DTD allows the most common 
	cause of completely blank pages.  (The other is framesets, which
	are not allowed.)


[DJW:]  

-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.

>  

Received on Monday, 2 April 2001 07:07:16 UTC