markup-validator commit: Fix display of encodings in XML vs meta mismatch message.

changeset:   3294:ce162226b857
tag:         tip
user:        Takeshi Kurosawa <kurosawa-takeshi@mitsue.co.jp>
date:        Sat Aug 11 16:06:57 2012 +0300
files:       httpd/cgi-bin/check
description:
Fix display of encodings in XML vs meta mismatch message.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18514


diff -r 3425027f0dcf -r ce162226b857 httpd/cgi-bin/check
--- a/httpd/cgi-bin/check	Sat Jul 28 12:49:55 2012 +0300
+++ b/httpd/cgi-bin/check	Sat Aug 11 16:06:57 2012 +0300
@@ -3081,8 +3081,8 @@
     {
         &add_warning(
             'W20',
-            {   W20_http => $File->{Charset}->{XML},
-                W20_xml  => $File->{Charset}->{META},
+            {   W20_xml  => $File->{Charset}->{XML},
+                W20_meta => $File->{Charset}->{META},
             }
         );
         $File->{Tentative} |= T_WARN;

Received on Saturday, 11 August 2012 13:07:27 UTC