Re: link check

* Frank Ellermann <Frank.Ellermann@t-online.de> [2001-06-22 23:33-0400]
> Hi... the link checker is really nice.  3  observations:
> 
> 1: It doesn't like my ../check/referer link and proposes
>    to use http://validator.w3.org/ ?!?

This is because the link checker doesn't send out a referer header.
This is on the to-do list[1].

* Tim Bagot <tsb-w3-validator-0004@earth.li> [2001-06-23 16:57+0000]
> At 2001-06-22T23:33-0400, Frank Ellermann wrote:-
> 
> > 2: It doesn't like the #omitted in my link to
> >    http://www.cs.tcd.ie/15445/UG.html#omitted ?!?
> 
> I think this is because of ``<A ID="OMITTED" NAME="omitted">'' in that
> document. The values of the id and name attributes are case-sensitive, and
> must be identical if both are present; therefore the document is in error.
> I assume that the link checker uses the value of the id attribute if it
> exists, only using the name attribute if there is no id attribute.

The current version does not really do the right thing in case there
is both a name and an id attribute. In this case, the id attribute was
used. I have added that to the to-do list.

For reference purposes, [2] reads:

   The id and name attributes share the same name space. This means that
   they cannot both define an anchor with the same name in the same
   document. It is permissible to use both attributes to specify an
   element's unique identifier for the following elements: A, APPLET,
   FORM, FRAME, IFRAME, IMG, and MAP. When both attributes are used on a
   single element, their values must be identical.

  1. http://www.w3.org/2000/07/checklink#todo
  2. http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html#h-12.2.3
-- 
Hugo Haas - W3C
mailto:hugo@w3.org - http://www.w3.org/People/Hugo/ - tel:+1-617-452-2092

Received on Monday, 25 June 2001 08:42:28 UTC