W3C home > Mailing lists > Public > www-validator-cvs@w3.org > August 2010

link-checker commit: converting output to XHTML 1.0 Strict (cont'd)

From: Mercurial notifier <nobody@w3.org>
Date: Thu, 05 Aug 2010 14:47:11 +0000
To: link-checker updates <www-validator-cvs@w3.org>
Message-Id: <E1Oh1ix-0005yP-Pt@blinky.w3.org>
changeset:   208:d2bb40f0b436
user:        ot
date:        Thu Jan 24 01:29:38 2008 +0000
files:       bin/checklink
description:
converting output to XHTML 1.0 Strict (cont'd)


diff -r 6253ce00f758 -r d2bb40f0b436 bin/checklink
--- a/bin/checklink	Thu Jan 24 01:28:00 2008 +0000
+++ b/bin/checklink	Thu Jan 24 01:29:38 2008 +0000
@@ -5,7 +5,7 @@
 # (c) 1999-2007 World Wide Web Consortium
 # based on Renaud Bruyeron's checklink.pl
 #
-# $Id: checklink,v 4.79 2008-01-24 01:28:00 ot Exp $
+# $Id: checklink,v 4.80 2008-01-24 01:29:38 ot Exp $
 #
 # This program is licensed under the W3C(r) Software License:
 #       http://www.w3.org/Consortium/Legal/copyright-software
@@ -204,7 +204,7 @@
   $PROGRAM     = 'W3C-checklink';
   $VERSION     = '4.3';
   $REVISION    = sprintf('version %s (c) 1999-2007 W3C', $VERSION);
-  my ($cvsver) = q$Revision: 4.79 $ =~ /(\d+[\d\.]*\.\d+)/;
+  my ($cvsver) = q$Revision: 4.80 $ =~ /(\d+[\d\.]*\.\d+)/;
   $AGENT       = sprintf('%s/%s [%s] %s',
                          $PROGRAM, $VERSION, $cvsver, LWP::RobotUA->_agent());
 
@@ -1596,7 +1596,7 @@
     printf("Status: 401 Authorization Required\nWWW-Authenticate: %s\nConnection: close\nContent-Language: en\nContent-Type: text/html; charset=utf-8\n\n", $r->headers->www_authenticate);
 
     printf("%s
-<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" >
+<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">
 <head>
 <title>W3C Link Checker: 401 Authorization Required</title>
 %s</head>
@@ -2173,7 +2173,7 @@
   }
 
   print $headers, $DocType, "
-<html lang=\"en\">
+<html lang=\"en\" xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\">
 <head>
 <title>W3C Link Checker", &encode($title), "</title>
 ", $Head, $script, "</head>
Received on Thursday, 5 August 2010 14:47:21 UTC

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