diff options
author | ot <ot@localhost> | 2007-07-23 06:01:39 +0000 |
---|---|---|
committer | ot <ot@localhost> | 2007-07-23 06:01:39 +0000 |
commit | 56b1fd8d2fd5b106b262dfe65e245151e632730e (patch) | |
tree | c14f5d6630499af548f026b7619c13a018a8b6db | |
parent | 4e91c3fe3b0f3bdd8deb036c565469f93ccca996 (diff) | |
download | markup-validator-56b1fd8d2fd5b106b262dfe65e245151e632730e.zip markup-validator-56b1fd8d2fd5b106b262dfe65e245151e632730e.tar.gz markup-validator-56b1fd8d2fd5b106b262dfe65e245151e632730e.tar.bz2 |
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
-rwxr-xr-x | httpd/cgi-bin/check | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 75070e7..ab3e6a9 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -14,7 +14,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.544 2007-07-20 02:56:07 ot Exp $ +# $Id: check,v 1.545 2007-07-23 06:01:39 ot Exp $ # # Disable buffering on STDOUT! @@ -183,7 +183,7 @@ Directory not readable (permission denied): @_r # # Strings - $VERSION = q$Revision: 1.544 $; + $VERSION = q$Revision: 1.545 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -2489,6 +2489,12 @@ sub W3C::Validator::SAXHandler::error # 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 |