validator/httpd/cgi-bin check,1.665,1.666

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

Modified Files:
	check 
Log Message:
Report all used OpenSP options in debug mode.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.665
retrieving revision 1.666
diff -u -d -r1.665 -r1.666
--- check	29 Jun 2009 19:57:51 -0000	1.665
+++ check	29 Jun 2009 20:22:43 -0000	1.666
@@ -1104,10 +1104,6 @@
   # default parsing options
   my @spopt = qw(valid non-sgml-char-ref no-duplicate);
 
-  $File->{ParserName} = $parser_name;
-  $File->{ParserOpts} = join " ", @spopt;
-
-
   #
   # Switch to XML semantics if file is XML.
   if (&is_xml($File)) {
@@ -1125,6 +1121,8 @@
     push(@spopt, 'min-tag');
   }
 
+  $File->{ParserName} = $parser_name;
+  $File->{ParserOpts} = join(" ", @spopt);
 
   #
   # Parser configuration

Received on Monday, 29 June 2009 20:22:56 UTC