W3C home > Mailing lists > Public > www-validator-cvs@w3.org > March 2008

[Bug 5555] Really invalid comment declaration?

From: <bugzilla@wiggum.w3.org>
Date: Mon, 10 Mar 2008 18:13:40 +0000
CC:
To: www-validator-cvs@w3.org
Message-Id: <E1JYmVI-0008I6-B4@wiggum.w3.org>

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--;

      &#9993;

      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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:00 GMT