This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 826 - Error when there is PCDATA inside blockquote in XHTML1.1
Summary: Error when there is PCDATA inside blockquote in XHTML1.1
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: 0.6.6
Hardware: PC other
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
Depends on:
Reported: 2004-07-22 10:30 UTC by Eric D
Modified: 2005-12-24 03:07 UTC (History)
0 users

See Also:


Description Eric D 2004-07-22 10:30:08 UTC
The following XHTML code fails to validate. An error is found on le PCDATA 
inside the blockquote element. However on page
modularization/abstract_modules.html#s_textmodule, it is indicated that PCDATA 
can be placed inside this element. What is good ?

<?xml version="1.0" encoding="ISO-8859-15"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "
<html xmlns="" xml:lang="fr">



Comment 1 Bj 2004-07-22 10:44:22 UTC
Well... well... just see

which is probably more accurate.
Comment 2 Eric D 2004-07-22 11:00:54 UTC
Much better, thank you.
Comment 3 dododododoot 2005-08-09 00:19:48 UTC
how come the 'latest' version of the xhtml 1.1 recommendation shows that PCDATA
can be resident immediately within a blockquote?
Comment 4 Bj 2005-08-09 00:31:44 UTC
Hi dododododoot, I'm afraid the W3C Validator Team can't answer such questions, 
we don't write or maintain the HTML/XHTML specifications. If you look at the 
XHTML 1.1 Recommendation you will note that the Status sections suggest to send 
comments to the mailing list. The HTML Working Group 
should be able to answer such questions. Please also check the document cited 
in comment #1.
Comment 5 John Bentley 2005-12-15 02:09:53 UTC
Dear Björn, you misunderstand dododododoot's question. It was rhetorical.
The current XHTML 1.1 recommendation,, points to
Modularization of XHTML W3C Recommendation 10 April 2001

Not to
Modularization of XHTML 1.0 - Second Edition W3C Working Draft 18 February 2004

Although this second "Modularization" document comes later it is only a working

I have emailed to point out that PCDATA was not included
in the blockquote. Maybe this is deliberate, maybe it is a mistake. Either way
when you want to validate against XHTML 1.1, you want it to validate against THE
recommendation, not a working draft.

The recommendation DOES allow PCDATA within blockquotes. By the way the
recommendation does make sense.
It would seem pointless to force page authors to code:
<blockquote><p>I am the greateast</p></blockquote>

Rather than allow them, as the recommendation does allow,:
<blockquote>I am the greatest</blockquote>

I, for one, would be grateful if you (or whoever) where to recode the Validator
to follow the recommendation.
Comment 6 Henrik Pauli 2005-12-24 03:07:40 UTC
Interestingly, while [1] lists blockquote contents as (PCDATA | Heading | Block
| List)*, the DTD [2] says the following:

<!ENTITY % blockquote.element  "INCLUDE" >
<!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] - XHTML
Modularisation Recommendation, W3C, 2001, Abstract Modules chapter

- XHTML Modularisation Recommendation, W3C, 2001, DTD implementation of Text Module

- XHTML Modularisation Recommendation, W3C, 2001, DTD implementation, Legacy