Re: Literal slashes in javascript: IRIs

* 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 UTC