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>


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
Received on Friday, 23 November 2007 10:32:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:33:18 UTC