- From: <bugzilla@wiggum.w3.org>
- Date: Mon, 10 Mar 2008 18:13:40 +0000
- To: www-validator-cvs@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5555
Summary: Really invalid comment declaration?
Product: Validator
Version: HEAD
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: check
AssignedTo: dave.null@w3.org
ReportedBy: pavel.janda@yconix.com
QAContact: www-validator-cvs@w3.org
The source like this:
<script language="javascript" type="text/javascript">
<!--
pocetpobocek--;
//-->
</script>
------------------------------
Returns those errors
------------------------------
Validation Output: 2 Errors
1. Error Line 161, Column 16: invalid comment declaration: found character
";" outside comment but inside comment declaration.
pocetpobocek--;
✉
Check that you are using a proper syntax for your comments, e.g: <!--
comment here -->. This error may appear if you forget the last "--" to close
one comment, and later open another.
2. Info Line 159, Column 2: comment declaration started here.
<!--
3. Error Line 161, Column 14: XML Parsing Error: Comment not terminated .
pocetpobocek--;
Received on Monday, 10 March 2008 18:13:47 UTC