<?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>2440</bug_id>
          
          <creation_ts>2005-11-03 19:26:14 +0000</creation_ts>
          <short_desc>Comments not properly handled</short_desc>
          <delta_ts>2005-11-03 19:42: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>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="Edward Mulroy">edmulroy</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>7018</commentid>
    <comment_count>0</comment_count>
    <who name="Edward Mulroy">edmulroy</who>
    <bug_when>2005-11-03 19:26:14 +0000</bug_when>
    <thetext>This gives an error: 

==============================
&lt;tr&gt;
  &lt;td&gt;&lt;a href=&quot;http://www.faa.gov/pilots/training/&quot;&gt;Training&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;!-- 
&lt;tr&gt;
  &lt;td class=&quot;note&quot; colspan=&quot;2&quot;&gt;---Manuals---&lt;/td&gt;
&lt;/tr&gt;
==============================

I believe that it is incorrectly handling a comment. 


The error text is: 

==============================
Below are the results of attempting to parse this document with an SGML 
parser. 

Error Line 183 column 33: invalid comment declaration: found name character 
outside comment but inside comment declaration.
  &lt;td class=&quot;note&quot; colspan=&quot;2&quot;&gt;---Manuals---&lt;/td&gt;
 

Info Line 181 column 0: comment declaration started here.
&lt;!-- 
Error Line 183 column 34: character data is not allowed here.
  &lt;td class=&quot;note&quot; colspan=&quot;2&quot;&gt;---Manuals---&lt;/td&gt;
You have used character data somewhere it is not permitted to appear. Mistakes 
that can cause this error include putting text directly in the body of the 
document without wrapping it in a container element (such as a 
&lt;p&gt;aragraph&lt;/p&gt;) 
or forgetting to quote an attribute value (where characters such as &quot;%&quot; 
and &quot;/&quot; 
are common, but cannot appear without surrounding quotes). 

---More errors follow such as complaints about the ending &lt;/td&gt;
==============================

The file being parsed is HTML 4.01 Transitional.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7019</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2005-11-03 19:42:07 +0000</bug_when>
    <thetext>An SGML comment declaration is &lt;! -- comment #1 -- -- Comment #2 --&gt;;
it is not a typical &quot;quoted string&quot; that happens to be delimited by &quot;&lt;!--&quot; and &quot;--&gt;&quot;.

IOW, never put things like &quot;---Manuals---&quot; inside an SGML comment; the hyphens
are significant.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>