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

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