<!ENTITY % block
"p | %heading; | div | %lists; | %blocktext; | fieldset | table">
<!ENTITY % Block "(%block; | form | %misc;)*">
Watch the * in the definition of %Block: zero or more times! So %Block can be empty, hence <body> can be empty and can be written as <body/>. Also the official validator at W3C says it is valid XHTML1.0
CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|