<?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>1065</bug_id>
          
          <creation_ts>2005-01-28 14:33:47 +0000</creation_ts>
          <short_desc>Untrue error statement</short_desc>
          <delta_ts>2005-01-29 12:38:00 +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>0.6.7</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://webworks.hdcompany.nl/cgi/engine.cgi/Contact2</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hartog C. de Mik">sinister</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>2925</commentid>
    <comment_count>0</comment_count>
    <who name="Hartog C. de Mik">sinister</who>
    <bug_when>2005-01-28 14:33:47 +0000</bug_when>
    <thetext>At the given URL the validator complains of an unclosed &lt;/p&gt;, yet this is not
true... (I checked it twice)

What is true; the html is not valid html-4.01-transitional, since the &lt;p&gt; tag
contains a block-element (&lt;form&gt; to be precise). Instead of saying something
like &apos;&lt;form&gt; not allowed in &lt;p&gt;&apos; you get a nice wild-goose-chase message.

I tried the same with more simplified HTML
(http://webworks.hdcompany.nl/test.html) but this gave the same results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2926</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2005-01-29 12:38:00 +0000</bug_when>
    <thetext>The validator does not complain about an unclosed &lt;p&gt;, it&apos;s telling you that you
have a &lt;/p&gt; end tag for which you don&apos;t have an opening &lt;p&gt; for.  Which is
indeed what you&apos;ve got.

&lt;/p&gt; is optional in HTML 4.x, and because &lt;p&gt; cannot contain &lt;form&gt;, it is
implicitly closed just before the form begins.  You&apos;ll see this by checking the
&quot;show parse tree&quot; checkbox in the results view and revalidating.  IOW, the
following two are equivalent in HTML 4.x:

  &lt;p&gt;&lt;form&gt;...&lt;/form&gt;&lt;/p&gt;
  &lt;p&gt;&lt;/p&gt;&lt;form&gt;...&lt;/form&gt;&lt;/p&gt;

The syntax of X(HT)ML is more explicit, so in case you wish to avoid pitfalls
like this and other similar ones, looking into it might be a good idea.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>