validator/httpd/cgi-bin check,1.305.2.92,1.305.2.93

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

Modified Files:
      Tag: validator-0_6_0-branch
	check 
Log Message:
Fix warnings output in XML mode, thanks to Björn Höhrmann.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.92
retrieving revision 1.305.2.93
diff -u -d -r1.305.2.92 -r1.305.2.93
--- check	30 Apr 2004 09:00:57 -0000	1.305.2.92
+++ check	1 May 2004 10:19:17 -0000	1.305.2.93
@@ -2814,7 +2814,8 @@
 
   if (defined $File->{Warnings} and scalar @{$File->{Warnings}}) {
     print qq(  <warnings>\n);
-    printf qq(    <warning>%s</warning>\n), &ent($_) for @{$File->{Warnings}};
+    printf qq(    <warning>%s</warning>\n),
+      &ent($_->{Message}) for @{$File->{Warnings}};
     print qq(  </warnings>\n);
   }
 

Received on Saturday, 1 May 2004 06:19:22 UTC