<?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>809</bug_id>
          
          <creation_ts>2004-06-22 18:58:41 +0000</creation_ts>
          <short_desc>&apos;end tag for &quot;HEAD&quot; which is not finished&apos; Error if &lt;head&gt; has no &lt;title&gt;</short_desc>
          <delta_ts>2005-12-17 15:37:07 +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.7.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</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="Daniel Wang">stolenclover</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>2041</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Wang">stolenclover</who>
    <bug_when>2004-06-22 18:58:41 +0000</bug_when>
    <thetext>Steps to reproduce:
1. Save the file below
2. Check the file via upload

Result:
See error: Line 5, column 6: end tag for &quot;HEAD&quot; which is not finished

Expected Result:
It should either validate or give more friendly error

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot;
&quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
&lt;html&gt;
&lt;head&gt;
 &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2042</commentid>
    <comment_count>1</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2004-06-22 19:34:47 +0000</bug_when>
    <thetext>The error message explanation for this error (#73 &quot;end tag for %1 which is not finished&quot;)  already states 
[[ Another possibility is that you used an element (e.g. &apos;ul&apos;) which requires a child element (e.g. &apos;li&apos;) that 
you did not include. Hence the parent element is &quot;not finished&quot;, not complete.]]

Can&apos;t do much better without making a specific error for the lack of &lt;title&gt; in &lt;head&gt;, which we can&apos;t 
do with the current architecture.

Can you suggest a better error message explanation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2185</commentid>
    <comment_count>2</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-01 10:20:36 +0000</bug_when>
    <thetext>Resolve INVALID as no feedback has been received since June.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7441</commentid>
    <comment_count>3</comment_count>
    <who name="Drew Shirts">drewshirts</who>
    <bug_when>2005-12-14 15:55:35 +0000</bug_when>
    <thetext>I have duplicated this bug and found a workaround.
If you add a title tag (e.g. &quot;&lt;title&gt;This is my title&lt;/title&gt;&quot;) it validates fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7517</commentid>
    <comment_count>4</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2005-12-17 15:36:54 +0000</bug_when>
    <thetext>THat&apos;s not a workaround, it&apos;s a fix for the original problem in your markup. The &apos;head&apos; element requires a 
&apos;title&apos; element and the validator will tell you that the &apos;head&apos; element is &quot;not finished&quot; if it finds the end tag 
for &apos;head&apos; without having seen a &apos;title&apos; element. IOW this was never a bug in the validator, it was a genuine 
error in your original markup.

Closing as Invalid.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>