- From: <bugzilla@wiggum.w3.org>
- Date: Thu, 03 Nov 2005 19:26:14 +0000
- To: www-validator-cvs@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2440
Summary: Comments not properly handled
Product: Validator
Version: HEAD
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Parser
AssignedTo: link@pobox.com
ReportedBy: edmulroy@yahoo.com
QAContact: www-validator-cvs@w3.org
This gives an error:
==============================
<tr>
<td><a href="http://www.faa.gov/pilots/training/">Training</a></td>
</tr>
<!--
<tr>
<td class="note" colspan="2">---Manuals---</td>
</tr>
==============================
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.
<td class="note" colspan="2">---Manuals---</td>
Info Line 181 column 0: comment declaration started here.
<!--
Error Line 183 column 34: character data is not allowed here.
<td class="note" colspan="2">---Manuals---</td>
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
<p>aragraph</p>)
or forgetting to quote an attribute value (where characters such as "%"
and "/"
are common, but cannot appear without surrounding quotes).
---More errors follow such as complaints about the ending </td>
==============================
The file being parsed is HTML 4.01 Transitional.
Received on Thursday, 3 November 2005 19:26:17 UTC