W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2004

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

From: Ville Skytta <ville@hutz.w3.org>
Date: Sat, 01 May 2004 10:19:21 +0000
To: www-validator-cvs@w3.org
Message-Id: <20040501101921.863DE481A@hutz.w3.org>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:06 UTC