W3C home > Mailing lists > Public > public-qa-dev@w3.org > February 2008

Re: link test suite

From: Ville Skyttä <ville.skytta@iki.fi>
Date: Sat, 9 Feb 2008 14:39:27 +0200
To: public-qa-dev@w3.org
Message-Id: <200802091439.27764.ville.skytta@iki.fi>

Hi Olivier,

One more comment:

On Monday 28 January 2008, Olivier Thereaux wrote:

> ======================================================================
> FAIL: test dereference BASE href (404)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/Users/ot/Sites/cvs/public/2008/linkchecktests/harness/lib/LinkTestCase.py
>", line 52, in run_testcase
> self.assertEqual(self.checker.parse_checklink(self.checker.call_checklink(s
>elf.docURI)), self.expectResults) AssertionError: {} != {'404':
> 'http://qa-dev.w3.org/link-testsuite/thisURIdoesnotexist/'}

I have always thought base/@href as something that does not need to be 
dereferenceable.  For example:

<!--
Directory indexes are explicitly forbidden, so this would be a 403, but that's 
ok as we have no use for dereferencing it, no error flagged.
-->
<base href="http://.../foo/">

<!--
Resolves to http://.../foo/bar.html, gets a 200, no error flagged.
-->
<a href="bar.html">bar</a>

<!--
Resolves to http://.../foo/, gets a 403, error IS flagged.
-->
<a href=".">.</a>
Received on Saturday, 9 February 2008 12:39:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 19 August 2010 18:12:48 GMT