<?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>2340</bug_id>
          
          <creation_ts>2005-10-13 17:03:31 +0000</creation_ts>
          <short_desc>Simple HTML failing validation with bogus error</short_desc>
          <delta_ts>2005-10-13 17:16:31 +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>HEAD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Gamigin">gamigin</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>6685</commentid>
    <comment_count>0</comment_count>
    <who name="Gamigin">gamigin</who>
    <bug_when>2005-10-13 17:03:31 +0000</bug_when>
    <thetext>The following HTML fails validation:

&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;
&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;

&lt;html&gt;
	&lt;head&gt;
		&lt;title&gt;Slot Reporting&lt;/title&gt; 
		&lt;link href=&quot;CSS/main.css&quot; type=&quot;text/css&quot; rel=&quot;stylesheet&quot;/&gt;
	&lt;/head&gt;
	&lt;body&gt;
	&lt;/body&gt;
&lt;/html&gt;

With error:
Line 7 column 7: end tag for element &quot;HEAD&quot; which is not open.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6686</commentid>
    <comment_count>1</comment_count>
      <attachid>394</attachid>
    <who name="Gamigin">gamigin</who>
    <bug_when>2005-10-13 17:04:18 +0000</bug_when>
    <thetext>Created attachment 394
The HTML that fails validation</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6687</commentid>
    <comment_count>2</comment_count>
    <who name="Bj">bjoern</who>
    <bug_when>2005-10-13 17:16:31 +0000</bug_when>
    <thetext>The /&gt; syntax is not allowed for HTML documents.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>394</attachid>
            <date>2005-10-13 17:04:18 +0000</date>
            <delta_ts>2005-10-13 17:04:18 +0000</delta_ts>
            <desc>The HTML that fails validation</desc>
            <filename>test2.html</filename>
            <type>text/html</type>
            <size>259</size>
            <attacher name="Gamigin">gamigin</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+DQoNCjxodG1sPg0K
CTxoZWFkPg0KCQk8dGl0bGU+U2xvdCBSZXBvcnRpbmc8L3RpdGxlPiANCgkJPGxpbmsgaHJlZj0i
Q1NTL21haW4uY3NzIiB0eXBlPSJ0ZXh0L2NzcyIgcmVsPSJzdHlsZXNoZWV0Ii8+DQoJPC9oZWFk
Pg0KCTxib2R5Pg0KCTwvYm9keT4NCjwvaHRtbD4NCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>