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

Re: Literal slashes in javascript: IRIs

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 23 Nov 2007 18:46:09 +0100
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Henri Sivonen <hsivonen@iki.fi>, www-archive <www-archive@w3.org>
Message-ID: <sb3ek3hjkksnmocodd4619dbrr06olphtn@hive.bjoern.hoehrmann.de>

* Julian Reschke wrote:
>I personally don't see how the use of "javascript:" in HTML href 
>attributes could be made consistent with what the definition of a URI is 
>(yes, I know, Björn disagrees, but then the scheme hasn't been 
>registered yet, right?).

We discussed this to some length on the uri mailing lists and there
seems to be rough consensus that it is sufficiently consistent. I'm
more interested in telling people not to use unregistered schemes;
that can reasonably be done only if very widely used schemes are in
fact registered. My opinion on this does not really extend beyond
that.

>So for the work in HTML I think it would be better to use a different 
>term, and to generally discourage their use (Q: can't the same effects 
>be achieved using onClick="..." ?).

Well there is at least one effect you cannot emulate this way, that
is, specifying the link so people can right-click it and add it to
their bookmarks (to use the script as bookmarklet). I welcome any
and all discouragements of their use in <a href='...'> beyond that,
I often try to open pages in new windows which does not work with
them.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 23 November 2007 17:46:29 GMT

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