validator/httpd/cgi-bin check,1.421,1.422

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

Modified Files:
	check 
Log Message:

Nuking obsolete code with inline markup - the info was moved to templates - 
See also http://www.w3.org/Bugs/Public/show_bug.cgi?id=1392


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.421
retrieving revision 1.422
diff -u -d -r1.421 -r1.422
--- check	23 May 2005 12:08:34 -0000	1.421
+++ check	3 Jun 2005 05:03:28 -0000	1.422
@@ -804,35 +804,6 @@
 }
 
 
-#
-#@@FIXME: This logic belongs in the templates.
-if (defined $File->{Tentative}) {
-  my $class = '';
-     $class .= ($File->{Tentative} & T_INFO  ? ' info'    :'');
-     $class .= ($File->{Tentative} & T_WARN  ? ' warning' :'');
-     $class .= ($File->{Tentative} & T_ERROR ? ' error'   :'');
-     $class .= ($File->{Tentative} & T_FATAL ? ' fatal'   :'');
-
-  unless ($File->{Tentative} == T_DEBUG) {
-    $File->{Notice} = <<".EOF.";
-    <p id="Notice" class="$class">
-      Please note that you have chosen one or more options that alter the
-      content of the document before validation, or have not provided enough
-      information to accurately validate the document. Even if no errors are
-      reported below, the document will not be valid until you manually make
-      the changes we have performed automatically. Specifically, if you used
-      some of the options that override a property of the document (e.g. the
-      DOCTYPE or Character Encoding), you must make the same change to the
-      source document or the server setup before it can be valid. You will
-      also need to insert an appropriate DOCTYPE Declaration or Character
-      Encoding (the "charset" parameter for the Content-Type HTTP header) if
-      any of those are missing.
-    </p>
-.EOF.
-  }
-}
-#@@FIXME;
-
 if ($File->{Opt}->{Output} eq 'xml') {
   &report_xml($File);
 } elsif ($File->{Opt}->{Output} eq 'earl') {

Received on Friday, 3 June 2005 05:03:41 UTC