MAP content model correction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MAP content model correction

Bugzilla from giecrilj@stegny.2a.pl

Regarding XHTML 1.0 - DTDs:

Is

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

Should be

               <!ELEMENT map ((%Block;)+ | area+)>

The present definition of %Block is:

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

Should be:

        <!ENTITY % Block "<a
href="http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_block#dtdentry_xhtml1-strict.dtd_block">%block; | form | <a
href="http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_misc#dtdentry_xhtml1-strict.dtd_misc">%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 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 HTML 4.  I think the difference is unintended and the discrepancy should be removed.

Please fix ASAP.

Best regards,

Chris