<?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>11029</bug_id>
          
          <creation_ts>2010-10-13 16:46:43 +0000</creation_ts>
          <short_desc>The script does not give an error when there is no opening html tag</short_desc>
          <delta_ts>2011-08-23 18:55:38 +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>Macintosh</rep_platform>
          <op_sys>MacOS X</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>webmaster</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</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>41239</commentid>
    <comment_count>0</comment_count>
    <who name="">webmaster</who>
    <bug_when>2010-10-13 16:46:43 +0000</bug_when>
    <thetext>Hi there,

I noticed that when I attempted to check a page with no opening html tag, that this error was not caught by the validator.

I created a minimal test case for you to try.
&amp;#65279;&amp;#65279;http://mikemoreau.com/dev/html-open.html

When I validate this url it passes the test when it should not.

Am I misunderstanding this or is there a problem with the script? Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55707</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2011-08-23 18:55:38 +0000</bug_when>
    <thetext>The opening html tag is optional in HTML 4.01:
http://www.w3.org/TR/html401/struct/global.html#edef-HTML

I&apos;m not sure about HTML 5, but in any case, http://validator.nu passes your test case as valid too, which means that if this is an error, the bug should be reported according to the validator.nu bug reporting instructions:
http://about.validator.nu/#reporting-bugs</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>