W3C home > Mailing lists > Public > www-style@w3.org > November 2005

Re: [css21] whitespace in URI values

From: Anne van Kesteren <annevk@opera.com>
Date: Sun, 13 Nov 2005 00:25:21 +0100
To: David Woolley <david@djwhome.demon.co.uk>, www-style@w3.org
Message-id: <op.sz5hywy064w2qv@id-c0020.q42.local>

On Sat, 12 Nov 2005 23:15:04 +0100, David Woolley  
<david@djwhome.demon.co.uk> wrote:
>> 2. @import url(" test.css");
>
> You are into error recovery here.  The reason that space is not valid in
> URIs is that it is not always possible to tell the difference between
> a URI that was line broken at a space and one that was line broken  
> because
> it would have gone off the paper otherwise.  As such spaces ought to be
> ignored.  However, in the address bar, it is often more convenient to
> type a space than %20, so the error recover tends to honour spaces.  That
> gets generalised to URLs in the document itself.

Lachlan said earlier that it would load "test.css" so your logic does not  
hold. Also, such "error recovery" has to be defined. (Is the above a  
correct contruct or not? Et cetera.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 12 November 2005 23:25:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT