W3C home > Mailing lists > Public > www-archive@w3.org > November 2007

Literal slashes in javascript: IRIs

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 23 Nov 2007 12:32:39 +0200
Message-Id: <B74460B2-08FA-493A-A168-C0C7AB8A3CCB@iki.fi>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: www-archive <www-archive@w3.org>

Hi,

http://tools.ietf.org/html/draft-hoehrmann-javascript-scheme-00 says:
> Use of a byte order mark and literal use of the character "/" should  
> be avoided.


The latter requirement seems impractical. Why is this requirement  
present? Could it be relaxed?

It doesn't seem particularly plausible that javascript: IRI would  
participate in a generic IRI/URI operation absolutizing a relative  
reference relative to a javascript: IRI. Letting a javascript: URI  
serve as the base URI of an HTML document seems non-sensical, for  
example, regardless of the presence of slashes.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Friday, 23 November 2007 10:32:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:11 GMT