MAP content model correction

Regarding
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_map> XHTML
1.0 - DTDs:

Is

               <!ELEMENT map ((%block;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_block#dtde
ntry_xhtml1-strict.dtd_block>  | form | %misc;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_misc#dtden
try_xhtml1-strict.dtd_misc> )+ | area+)>

Should be

               <!ELEMENT map ((%Block;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_block> )+
| area+)>

The present definition of %Block is:

        <!ENTITY % Block "(%block;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_block#dtde
ntry_xhtml1-strict.dtd_block>  | form | %misc;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_misc#dtden
try_xhtml1-strict.dtd_misc> )*">

Should be:

        <!ENTITY % Block "%block;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_block#dtde
ntry_xhtml1-strict.dtd_block>  | form | %misc;
<http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_misc#dtden
try_xhtml1-strict.dtd_misc> ">

References to %Block; elsewhere should be replaced with references to
(%Block;)+

Motivation: better modularity, easier to implement a validator following the
DTD.

Please consider.

Note also that according to The global
<http://www.w3.org/TR/html401/struct/global.html#h-7.5.1>  structure of an
HTML document the BODY element cannot be empty, whereas the XHTML DTD allows
it to be, and it is not discussed among XHTML 1.0 - Differences with
<http://www.w3.org/TR/xhtml1/diffs.html>  HTML 4.  I think the difference is
unintended and the discrepancy should be removed.

Please fix ASAP.

Best regards,

Chris

 

Received on Friday, 11 September 2009 07:47:51 UTC