W3C home > Mailing lists > Public > www-validator-css@w3.org > August 2007

Validating 'URIs'

From: Cecil Ward <cecil@cecilward.com>
Date: Fri, 3 Aug 2007 10:41:55 +0100
To: <www-validator-css@w3.org>
Message-ID: <000001c7d5b2$87aff860$970fe920$@com>

Olivier wrote:
>  The original bug report is correct, that relative URIs should not be dereferenced when using file upload or direct input.

Thank you for that, Olivier. Aside from the case of @import, there is a more general issue with URLs.

What should happen about validating the syntax of a URL itself? Should the CSS validator attempt this? Is it acceptable to say that a CSS file is "valid" if URLs that it contains are ill-formed? Or should this need to be devolved to another component?

For instance, I notice that the validator allows all sorts of strange things in other cases where a URI is accepted, such as

	* { background-image: url(" ") }

or

	* { background-image: url("::::::") }


Cecil Ward.
Received on Friday, 3 August 2007 09:42:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:19 GMT