W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2008

validator/httpd/cgi-bin check,1.606,1.607

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 22 Nov 2008 07:01:25 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1L3mUf-0002d8-RA@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
Fix doctype override for types without a system id.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.606
retrieving revision 1.607
diff -u -d -r1.606 -r1.607
--- check	14 Nov 2008 16:22:51 -0000	1.606
+++ check	22 Nov 2008 07:01:23 -0000	1.607
@@ -1766,7 +1766,7 @@
   my $name  = $dt->{Name};
   local $dtd;
   
-  if (($pubid ne "") and ($sysid ne "")) {
+  if ($pubid ne "") {
     $dtd = qq(<!DOCTYPE $name PUBLIC "$pubid");
     $dtd .= qq( "$sysid") if $sysid; # We don't have one for all types.
     $dtd .= '>';
Received on Saturday, 22 November 2008 07:01:35 UTC

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