RE: Possible bug in CSS Validator

According to the RFC's (including 3986), it would appear to me that the
semicolon in that instance (a VMX filename terminating in a semicolon) would
have to be percent encoded for the URL to be valid if it referenced such a
file. Note that RFC 3986 discusses URIs in general whereas the CSS uses URLs
in particular. I still believe the URN portion of a URL cannot contain a
non-encoded semicolon and so the URL reference in the style sheet simply
cannot end in a semicolon.

But if I'm wrong... 

My question, and the point of my e-mail, remains -- have you ever actually
seen the use of a semicolon at the end of a URL in a CSS style sheet where
it was done on purpose? I would bet not, or if so, maybe once or twice out
of the hundreds of millions of style sheets out there. So would there really
be any harm in putting in such a warning? It would save us hours of effort
trying to figure out why a background image isn't showing. There are
warnings for much less difficult to find issues. It would seem adding a
warning for this would be the right thing to do.

--Doug

Douglas Perreault CPA* CITP
*CPA designation regulated by the State of Florida

Received on Friday, 19 February 2010 19:47:08 UTC