W3C home > Mailing lists > Public > www-validator-cvs@w3.org > September 2009

validator/httpd/cgi-bin check,1.700,1.701

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 21 Sep 2009 20:40:56 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1Mppgu-0003SH-7m@lionel-hutz.w3.org>
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv13175

Modified Files:
	check 
Log Message:
Ignore doctype override when validating a fragment wrapped in template doc (#5132).

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.700
retrieving revision 1.701
diff -u -d -r1.700 -r1.701
--- check	21 Sep 2009 19:12:03 -0000	1.700
+++ check	21 Sep 2009 20:40:54 -0000	1.701
@@ -1789,8 +1789,11 @@
     }
     $prefill_Template->param(fragment => $File->{Bytes});
     $File->{Bytes} = $prefill_Template->output();
-    # let's force the view source so that the user knows what we've put around their code
+    # Let's force the view source so that the user knows what we've put around
+    # their code.
     $File->{Opt}->{'Show Source'} = TRUE;
+    # Ignore doctype overrides (#5132).
+    $File->{Opt}->{DOCTYPE} = 'Inline';
   }
 
   return $File;
Received on Monday, 21 September 2009 20:46:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:14 GMT