<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>826</bug_id>
          
          <creation_ts>2004-07-22 10:30:08 +0000</creation_ts>
          <short_desc>Error when there is PCDATA inside blockquote in XHTML1.1</short_desc>
          <delta_ts>2005-12-24 03:07:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>Parser</component>
          <version>0.6.6</version>
          <rep_platform>PC</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>REOPENED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric D">edechaux</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2089</commentid>
    <comment_count>0</comment_count>
    <who name="Eric D">edechaux</who>
    <bug_when>2004-07-22 10:30:08 +0000</bug_when>
    <thetext>The following XHTML code fails to validate. An error is found on le PCDATA 
inside the blockquote element. However on page http://www.w3.org/TR/xhtml-
modularization/abstract_modules.html#s_textmodule, it is indicated that PCDATA 
can be placed inside this element. What is good ?

&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-15&quot;?&gt;
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.1//EN&quot; &quot;http://www.w3.org/TR/xhtml11/
DTD/xhtml11.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; xml:lang=&quot;fr&quot;&gt;

&lt;head&gt;
&lt;title&gt;FooBar&lt;/title&gt;
&lt;/head&gt;    

&lt;body&gt;
&lt;blockquote&gt;blockquote&lt;/blockquote&gt;      
&lt;/body&gt;    

&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2090</commentid>
    <comment_count>1</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2004-07-22 10:44:22 +0000</bug_when>
    <thetext>Well... well... just see

http://www.w3.org/TR/2004/WD-xhtml-modularization-
20040218/abstract_modules.html#s_textmodule

which is probably more accurate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2091</commentid>
    <comment_count>2</comment_count>
    <who name="Eric D">edechaux</who>
    <bug_when>2004-07-22 11:00:54 +0000</bug_when>
    <thetext>Much better, thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5377</commentid>
    <comment_count>3</comment_count>
    <who name="dododododoot">gogogadgetearl</who>
    <bug_when>2005-08-09 00:19:48 +0000</bug_when>
    <thetext>how come the &apos;latest&apos; version of the xhtml 1.1 recommendation shows that PCDATA
can be resident immediately within a blockquote?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5378</commentid>
    <comment_count>4</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-08-09 00:31:44 +0000</bug_when>
    <thetext>Hi dododododoot, I&apos;m afraid the W3C Validator Team can&apos;t answer such questions, 
we don&apos;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 www-html-editor@w3.org mailing list. The HTML Working Group 
should be able to answer such questions. Please also check the document cited 
in comment #1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7448</commentid>
    <comment_count>5</comment_count>
    <who name="John Bentley">johnny_bentley</who>
    <bug_when>2005-12-15 02:09:53 +0000</bug_when>
    <thetext>Dear Björn, you misunderstand dododododoot&apos;s question. It was rhetorical.
The current XHTML 1.1 recommendation, http://www.w3.org/TR/xhtml11/, points to

http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_textmodule
Modularization of XHTML W3C Recommendation 10 April 2001

Not to

http://www.w3.org/TR/2004/WD-xhtml-modularization-20040218/abstract_modules.html#s_textmodule
Modularization of XHTML 1.0 - Second Edition W3C Working Draft 18 February 2004

Although this second &quot;Modularization&quot; document comes later it is only a working
draft.

I have emailed www-html-editor@w3.org 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:
&lt;blockquote&gt;&lt;p&gt;I am the greateast&lt;/p&gt;&lt;/blockquote&gt;

Rather than allow them, as the recommendation does allow,:
&lt;blockquote&gt;I am the greatest&lt;/blockquote&gt;

I, for one, would be grateful if you (or whoever) where to recode the Validator
to follow the recommendation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7539</commentid>
    <comment_count>6</comment_count>
    <who name="Henrik Pauli">ralesk</who>
    <bug_when>2005-12-24 03:07:40 +0000</bug_when>
    <thetext>Interestingly, while [1] lists blockquote contents as (PCDATA | Heading | Block
| List)*, the DTD [2] says the following:

&lt;!ENTITY % blockquote.element  &quot;INCLUDE&quot; &gt;
&lt;![%blockquote.element;[
&lt;!ENTITY % blockquote.content
     &quot;( %Block.mix; )+&quot;

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

I personally don&apos;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:

&lt;!ENTITY % blockquote.content
     &quot;( #PCDATA | %Flow.mix; )*&quot;
&gt;

&lt;!ENTITY % body.content
     &quot;( #PCDATA | %Flow.mix; )*&quot;
&gt;

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

It&apos;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&apos;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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>