[Bug 826] Error when there is PCDATA inside blockquote in XHTML1.1

http://www.w3.org/Bugs/Public/show_bug.cgi?id=826





------- Additional Comments From ralesk@muszaki.info  2005-12-24 03:07 -------
Interestingly, while [1] lists blockquote contents as (PCDATA | Heading | Block
| List)*, the DTD [2] says the following:

<!ENTITY % blockquote.element  "INCLUDE" >
<![%blockquote.element;[
<!ENTITY % blockquote.content
     "( %Block.mix; )+"

Now, I don't particularly see %Block.mix or anything related EVER declared, I
guess from body.content also having just a "( %Block.mix; )+", that this does
not include #PCDATA.

I personally don't see this as a good idea, since, well, blockquote is little
more than a div with phrasal information, really.

Now, at the end of the DTD [3], there we see the following:

<!ENTITY % blockquote.content
     "( #PCDATA | %Flow.mix; )*"
>

<!ENTITY % body.content
     "( #PCDATA | %Flow.mix; )*"
>

Which seems to allow PCDATA in both of these, directly.

It's perfectly understood (Re: #4) that this is not the place recommend changes
to the DTD, the Recommendation, or anything like that, but I believe it's
important to bring lights to the inconsistency between the recommendation and
the DTD.

[1] http://www.w3.org/TR/xhtml-modularization/abstract_modules.html - XHTML
Modularisation Recommendation, W3C, 2001, Abstract Modules chapter

[2]
http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_module_Block_Phrasal
- XHTML Modularisation Recommendation, W3C, 2001, DTD implementation of Text Module

[3]
http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_module_Legacy_Redeclarations
- XHTML Modularisation Recommendation, W3C, 2001, DTD implementation, Legacy
Redeclaration

Received on Saturday, 24 December 2005 03:07:47 UTC