W3C home > Mailing lists > Public > www-validator-css@w3.org > April 2005

Brackets in URLs (was FW: bug.)

From: David Dorward <david@dorward.me.uk>
Date: Mon, 11 Apr 2005 14:45:29 +0100
To: Will Barker <will.barker@rhads.co.uk>
Cc: www-validator-css@w3.org
Message-ID: <20050411134529.GD21658@us-lot.org>

On Mon, Apr 11, 2005 at 02:41:45PM +0100, Will Barker wrote:

> Invalid number : background-image Parse Error -
> url(../images/cms/hondatopbar(1).jpg)

> Im guessing it dosn't realy mean numbers in filenames  arn't allowed?

Brackets are not allowed in URLs. That should be represented as:
../images/cms/hondatopba%281%29.jpg

I'm not sure if the error message is a result of the validator not
being able to detect that error state and failing when it hits the ")"
(and thinking it means 'end of url') or if it just has a poor error
message for that situation.

(Responses to the mailing list, not to my personal inbox please)

-- 
David Dorward                                      http://dorward.me.uk
Received on Monday, 11 April 2005 13:45:31 GMT

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