W3C home > Mailing lists > Public > www-validator-cvs@w3.org > July 2007

validator/httpd/cgi-bin check,1.544,1.545

From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 23 Jul 2007 06:01:41 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1ICqzF-0007bU-Sc@lionel-hutz.w3.org>

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

Modified Files:
	check 
Log Message:
It looks like the flattenecd DTDs for e.g SVG 1.1 are not going to be fixed just yet
http://lists.w3.org/Archives/Public/www-html-editor/2007AprJun/0010.html 
=> filtering out the warning about re-declaration of xml:space

See also:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=301



Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.544
retrieving revision 1.545
diff -u -d -r1.544 -r1.545
--- check	20 Jul 2007 02:56:07 -0000	1.544
+++ check	23 Jul 2007 06:01:39 -0000	1.545
@@ -2489,6 +2489,12 @@
     # in that case the error message will be #344
   }
 
+   if (($err->{num} eq '113') and ($err->{msg} =~ /xml:space/)) {
+     # FIXME
+     # this is a problem with some of the "flattened" W3C DTDs, filtering them out to not confuse users.
+     # 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
+   }
 
   # Workaround for onsgmls as of 1.5 sometimes allegedly reporting errors
   # beyond EOL.  If you see this warning in your web server logs, please
Received on Monday, 23 July 2007 06:01:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:54:58 GMT