MAP content model correction

View: New views
1 Messages — Rating Filter:   Alert me  

MAP content model correction

by Křištof Želechovski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Regarding XHTML 1.0 - DTDs:

Is

               <!ELEMENT map ((%block; | form | %misc;)+ | area+)>

Should be

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

The present definition of %Block is:

        <!ENTITY % Block "(%block; | form | %misc;)*">

Should be:

        <!ENTITY % Block "%block; | form | %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