- From: Olivier Thereaux via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 12 Feb 2008 06:30:27 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv25517/httpd/cgi-bin
Modified Files:
check
Log Message:
additional fix for http://www.w3.org/Bugs/Public/show_bug.cgi?id=4848
- we were checking whether the SI matched a recognized FPI
- we are now also checking, in case the FPI is not recognized, whether it matches a known SI.
Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.581
retrieving revision 1.582
diff -u -d -r1.581 -r1.582
--- check 17 Jan 2008 11:23:25 -0000 1.581
+++ check 12 Feb 2008 06:30:25 -0000 1.582
@@ -1892,6 +1892,16 @@
}
}
}
+ else { # FPI not know, checking if the SI is
+ foreach my $proper_FPI (keys %{$CFG->{Types}}) {
+ if ($CFG->{Types}->{$proper_FPI}->{SysID} eq $SI) {
+ &add_warning('W26', {W26_dtd_pub => $FPI,
+ W26_dtd_pub_display =>$CFG->{Types}->{$proper_FPI}->{Display},
+ W26_dtd_sys => $SI,
+ W26_dtd_pub_recommend=> $proper_FPI });
+ }
+ }
+ }
}
#
# Do an initial parse of the Document Entity to extract FPI.
Received on Tuesday, 12 February 2008 06:30:36 UTC