W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2009

MAP content model correction

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Fri, 11 Sep 2009 09:32:36 +0200
To: <www-html-editor@w3.org>
Message-ID: <E715787A4D3B4210903C431016BA51EB@POCZTOWIEC>
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 GMT

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