W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2013

[Bug 20974] New: Comments including meta tag

From: <bugzilla@jessica.w3.org>
Date: Tue, 12 Feb 2013 11:45:06 +0000
To: www-validator-cvs@w3.org
Message-ID: <bug-20974-169@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20974

            Bug ID: 20974
           Summary: Comments including meta tag
    Classification: Unclassified
           Product: Validator
           Version: HEAD
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5
          Assignee: mike+validator@w3.org
          Reporter: iaack@yahoo.co.jp
        QA Contact: www-validator-cvs@w3.org

The validator fails to handle comments including meta tags like this

<!DOCTYPE html>
<title></title>

<!--
 <meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
-->

After validated, This text will be changed to

<!DOCTYPE html>
<title></title>

<!--
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><!-- <meta
http-equiv="Content-Type" content="text/html; charset=Shift_JIS"> -->
-->

The error message is following

Consecutive hyphens did not terminate a comment. -- is not permitted inside a
comment, but e.g. - - is.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 12 February 2013 11:45:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:54 UTC