validator/httpd/cgi-bin check,1.633,1.634

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

Modified Files:
	check 
Log Message:
Restore fake HTML5 pubid in types.conf, special case it in doctype override (#6250).

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.633
retrieving revision 1.634
diff -u -d -r1.633 -r1.634
--- check	6 Jan 2009 21:33:10 -0000	1.633
+++ check	7 Jan 2009 19:30:04 -0000	1.634
@@ -1751,6 +1751,9 @@
   my $sysid = $dt->{SysID};
   my $name  = $dt->{Name};
 
+  # The HTML5 PubID is a fake, reset it out of the way.
+  $pubid = undef if ($pubid eq 'HTML5');
+
   # We don't have public/system ids for all types.
   local $dtd = "<!DOCTYPE $name";
   if ($pubid) {

Received on Wednesday, 7 January 2009 19:30:16 UTC