<?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>3438</bug_id>
          
          <creation_ts>2006-07-07 07:11:43 +0000</creation_ts>
          <short_desc>The validator issue an error where it shouldn&apos;t</short_desc>
          <delta_ts>2006-07-07 09:16:33 +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>check</component>
          <version>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Rapha">rapsys</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>10419</commentid>
    <comment_count>0</comment_count>
    <who name="Rapha">rapsys</who>
    <bug_when>2006-07-07 07:11:43 +0000</bug_when>
    <thetext>I use the following html code :
&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&gt;
&lt;head&gt;
	&lt;title&gt;Some title&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;p&gt;
		&lt;ul&gt;
			&lt;li&gt;test&lt;/li&gt;
			&lt;li&gt;test1&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;

And the validation show me that error, where it shouldn&apos;t I think...

I don&apos;t understand that stupid invalid error, because the &lt;ul&gt; (same for a &lt;ol&gt;) il closed properly and is IN a &lt;p&gt; which is an element of type block...

May you plz correct the validatior to handle such change ?

Thank&apos;s in advance.

The error :
Line 8 column 5: document type does not allow element &quot;ul&quot; here; missing one of &quot;button&quot;, &quot;map&quot;, &quot;object&quot;, &quot;ins&quot;, &quot;del&quot;, &quot;noscript&quot; start-tag.
                &lt;ul&gt;
 The mentioned element is not allowed to appear in the context in which you&apos;ve placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you&apos;ve forgotten to close a previous element. 
 One possible cause for this message is that you have attempted to put a block-level element (such as &quot;&lt;p&gt;&quot; or &quot;&lt;table&gt;&quot;) inside an inline element (such as &quot;&lt;a&gt;&quot;, &quot;&lt;span&gt;&quot;, or &quot;&lt;font&gt;&quot;).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10420</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Whittleton">robin</who>
    <bug_when>2006-07-07 09:16:33 +0000</bug_when>
    <thetext>Invalid: &lt;p&gt; elements can only contain inline elements. Please see:

http://www.w3.org/TR/html4/struct/text.html#h-9.3.1

&quot;The P element represents a paragraph. It cannot contain block-level elements (including P itself).&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>