Re: link test suite

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 UTC