W3C home > Mailing lists > Public > www-validator@w3.org > May 2006

Re: Dot Dot Slash notation checked by Link Checker

From: Ian Stuart <Ian.Stuart@ed.ac.uk>
Date: Thu, 04 May 2006 09:57:19 +0100
Message-ID: <4459C1EF.1020108@ed.ac.uk>
To: www-validator@w3.org

This has swerved off-topic, however the better way to refer to the 
images is "/img/image.jpg" - else you run into trouble when you move the 
page within the document tree.

Anyway, *why* would you want the validator to ignore these entries? an 
image tag is an image tag... and it should have a src attribute 
assocciated with it. The validator doesn't care if you have named a 
non-existant file in that src attribute, not where it is... so long as 
the string is a valid URI format, the validator should be happy

Ville Skyttä wrote:
> There should be no reason to ignore such links, and there's nothing
> wrong with using "../img/image.jpg" in http://myhost.com/dir1/index.html
> in order to link to http://myhost.com/img/image.jpg.
> 
> If possible, please post a concrete public URL where you think the link
> checker misbehaves so it can be examined.


-- 

Ian Stuart.
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/
Received on Thursday, 4 May 2006 08:57:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:22 GMT