<?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>16796</bug_id>
          
          <creation_ts>2012-04-19 04:36:00 +0000</creation_ts>
          <short_desc>Less-than signs (&lt;) within &lt;script&gt; tags are incorrectly required to be expressed as &amp;lt;</short_desc>
          <delta_ts>2012-04-19 19:26:28 +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="Tom McDonnell">tomcdonnell</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>66837</commentid>
    <comment_count>0</comment_count>
    <who name="Tom McDonnell">tomcdonnell</who>
    <bug_when>2012-04-19 04:36:00 +0000</bug_when>
    <thetext>When the valid HTML below is submitted to the inline validator at http://validator.w3.org/check, the following errors are reported.  When the &apos;&lt;&apos; character is replaced by &apos;&amp;lt;&apos;, no errors are reported.

Line 9, Column 22: character &quot;&lt;&quot; is the first character of a delimiter but Error
Line 9, Column 22: StartTag: invalid element name

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&apos;http://www.w3.org/1999/xhtml&apos; lang=&apos;en&apos; xml:lang=&apos;en&apos;&gt;
 &lt;head&gt;
  &lt;title&gt;Bug&lt;/title&gt;
  &lt;meta http-equiv=&apos;content-type&apos; content=&apos;text/html;charset=UTF-8&apos;/&gt;&lt;!-- &lt;meta http-equiv=&apos;content-type&apos; content=&apos;text/html;charset=ISO-8859-1&apos;/&gt; --&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;script type=&apos;text/javascript&apos;&gt;
   for (var i = 0; i &lt; 10; ++i) {}
  &lt;/script&gt;
 &lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66864</commentid>
    <comment_count>1</comment_count>
    <who name="Ville Skyttä">ville.skytta</who>
    <bug_when>2012-04-19 19:26:28 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; When the &apos;&lt;&apos; character is replaced by &apos;&amp;lt;&apos;, no errors are reported.

Yes, that&apos;s what needs to be done, there&apos;s no validator bug here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>