validator/httpd/cgi-bin check,1.668,1.669

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

Modified Files:
	check 
Log Message:
Comments, whitespace, NFC.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.668
retrieving revision 1.669
diff -u -d -r1.668 -r1.669
--- check	30 Jun 2009 15:10:38 -0000	1.668
+++ check	30 Jun 2009 15:13:57 -0000	1.669
@@ -1576,7 +1576,7 @@
 }
 
 #
-# Add a waring message to the output.
+# Add a warning message to the output.
 sub add_warning ($$) {
   my $WID    = shift;
   my $params = shift;
@@ -3102,7 +3102,6 @@
 {
   my $self = shift;
   my $error = shift;
-  # my $mess = $self->{_parser}->split_message($error);
   my $mess;
   eval {
     $mess = $self->{_parser}->split_message($error);
@@ -3206,6 +3205,7 @@
      # hoping to get the DTDs fixed, see http://lists.w3.org/Archives/Public/www-html-editor/2007AprJun/0010.html
      return; # don't report this, just proceed
    }
+
    if (($err->{num} eq '344') and ($File->{Namespace}) and ($File->{Mode} =~ /XML/) )  {
      # we are in XML mode, we have a namespace, but no doctype.
      # the validator will already have said "no doctype, falling back to default" above
@@ -3220,7 +3220,6 @@
      $err->{type} = "W";
    }
 
-
   # Workaround for onsgmls as of 1.5 sometimes allegedly reporting errors
   # beyond EOL.  If you see this warning in your web server logs, please
   # let the validator developers know, see http://validator.w3.org/feedback.html
@@ -3338,11 +3337,9 @@
     $self->{am_in_heading} = 1;
   }
 
-return $self->SUPER::start_element($element)
-
+  return $self->SUPER::start_element($element);
 }
 
-
 sub end_element
 {
   my ($self, $element) = @_;
@@ -3350,7 +3347,6 @@
     $self->{_file}->{heading_outline} .= "\n";
     $self->{am_in_heading} = 0;
   }
-
 }
 
 

Received on Tuesday, 30 June 2009 15:14:09 UTC