- From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 10 Feb 2008 21:41:59 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/perl/modules/W3C/LinkChecker/bin
In directory hutz:/tmp/cvs-serv7679
Modified Files:
checklink
Log Message:
Add a TODO about our built-in handling of base/@href special case.
Index: checklink
===================================================================
RCS file: /sources/public/perl/modules/W3C/LinkChecker/bin/checklink,v
retrieving revision 4.93
retrieving revision 4.94
diff -u -d -r4.93 -r4.94
--- checklink 10 Feb 2008 18:22:37 -0000 4.93
+++ checklink 10 Feb 2008 21:41:57 -0000 4.94
@@ -1494,6 +1494,10 @@
if (!$self->{only_anchors}) {
# Special case: base/@href
+ # TODO: This should go away as soon as LWP::Protocol::collect() invokes
+ # HTML::HeadParser (thus taking care of it in $response->base()
+ # transparently) for application/xhtml+xml and
+ # application/vnd.wap.xhtml+xml documents
if ($tag eq 'base') {
# Treat <base> (without href) or <base href=""> as if it didn't exist.
if (defined($attr->{href}) && $attr->{href} ne '') {
Received on Sunday, 10 February 2008 21:42:09 UTC