validator/httpd/cgi-bin check,1.573,1.574

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv17293/httpd/cgi-bin

Modified Files:
	check 
Log Message:
patch by Brett Bieber for Bug 5154
http://lists.w3.org/Archives/Public/www-validator/2007Oct/0027.html



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.573
retrieving revision 1.574
diff -u -d -r1.573 -r1.574
--- check	3 Oct 2007 10:42:08 -0000	1.573
+++ check	9 Oct 2007 00:48:23 -0000	1.574
@@ -920,7 +920,8 @@
       });
     }
   } else {
-    &add_warning('W11', {W11_ns => $File->{Namespace}});
+    &add_warning('W11', {W11_ns => $File->{Namespace},
+    w11_doctype => $File->{DOCTYPE}});
   }
 } else {
   if (&is_xml($File) and $CFG->{Types}->{$File->{Version}}->{Namespace}) {
@@ -1714,8 +1715,8 @@
           my $escaped_uri = uri_escape($File->{URI});
           $_msg =~ s/<!--URI-->/$escaped_uri/g;
         }
-        $_msg =~ s/<!--CFG_HOME_PAGE-->/$CFG->{'Home Page'}/g;
         $explanation = "    $_msg\n$explanation"; # The send feedback plea.
+        $explanation =~ s/<!--CFG_HOME_PAGE-->/$CFG->{'Home Page'}/g;
       }
 
       $err->{src} = $line;

Received on Tuesday, 9 October 2007 00:48:33 UTC