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(" ") }


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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:43 UTC