<?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>20743</bug_id>
          
          <creation_ts>2013-01-23 09:04:45 +0000</creation_ts>
          <short_desc>&quot;there can only be one meta-based character encoding declaration per document&quot;</short_desc>
          <delta_ts>2016-02-04 07:26:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML Checker</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>20742</dup_id>
          
          <bug_file_loc>http://www.w3.org/html/wg/drafts/html/master/document-metadata.html#charset</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leif Halvard Silli">xn--mlform-iua</reporter>
          <assigned_to name="Michael[tm] Smith">mike+validator</assigned_to>
          <cc>w3bugs</cc>
          
          <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>81984</commentid>
    <comment_count>0</comment_count>
    <who name="Leif Halvard Silli">xn--mlform-iua</who>
    <bug_when>2013-01-23 09:04:45 +0000</bug_when>
    <thetext>HTML5 says that

]] In addition, due to a number of restrictions on meta elements, there can only be one meta-based character encoding declaration per document. [[

Which means that it is an error when the validator doesn&apos;t consider the last 3 metatags an error.


&lt;!DOCTYPE html&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot;&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html;charset=UTF-8&quot;&gt;
&lt;meta charset=&quot;UTF-8&quot;&gt;
&lt;title&gt;&lt;/title&gt;

(Try in valdiator.w3.org/nu: http://tinyurl.com/as3gkyt )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124822</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Rebert">w3bugs</who>
    <bug_when>2016-02-04 07:26:00 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 20742 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>