Re: [Uri-review] Updated 'javascript' scheme draft

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Fri, 01 October 2010 06:42 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: uri-review@core3.amsl.com
Delivered-To: uri-review@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD7773A6C23 for <uri-review@core3.amsl.com>; Thu, 30 Sep 2010 23:42:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.835
X-Spam-Level:
X-Spam-Status: No, score=-99.835 tagged_above=-999 required=5 tests=[AWL=-0.045, BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Te5Vckn1BTYR for <uri-review@core3.amsl.com>; Thu, 30 Sep 2010 23:42:54 -0700 (PDT)
Received: from scintmta02.scbb.aoyama.ac.jp (scintmta02.scbb.aoyama.ac.jp [133.2.253.34]) by core3.amsl.com (Postfix) with ESMTP id 630113A6BFD for <uri-review@ietf.org>; Thu, 30 Sep 2010 23:42:54 -0700 (PDT)
Received: from scmse01.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id o916hbMI006034 for <uri-review@ietf.org>; Fri, 1 Oct 2010 15:43:37 +0900
Received: from (unknown [133.2.206.133]) by scmse01.scbb.aoyama.ac.jp with smtp id 42cb_8613_3800d1ac_cd27_11df_93b6_001d096c566a; Fri, 01 Oct 2010 15:43:37 +0900
Received: from [IPv6:::1] ([133.2.210.1]:43139) by itmail.it.aoyama.ac.jp with [XMail 1.22 ESMTP Server] id <S1459CEC> for <uri-review@ietf.org> from <duerst@it.aoyama.ac.jp>; Fri, 1 Oct 2010 15:43:34 +0900
Message-ID: <4CA58311.3030509@it.aoyama.ac.jp>
Date: Fri, 01 Oct 2010 15:43:29 +0900
From: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
References: <7vi196ttkeuol4h2k7oiuaeo759tggt4pl@hive.bjoern.hoehrmann.de> <4C90D4A5.7090305@gmx.de>
In-Reply-To: <4C90D4A5.7090305@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: IRI WG mailing list <public-iri@w3.org>, uri-review@ietf.org, Bjoern Hoehrmann <derhoermi@gmx.net>
Subject: Re: [Uri-review] Updated 'javascript' scheme draft
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Oct 2010 06:42:55 -0000

Hello Julian, Björn,

[cross-posting public-iri@w3.org]

I have tried to follow your discussion in the thread started by the mail 
below (for the IRI WG: that mail is at 
http://www.ietf.org/mail-archive/web/uri-review/current/msg01215.html; 
the rest of the thread can easily be reached from that mail with the 
'Date Prev' button, sometimes jumping over another thread).

However, especially in respect to the question of whether to define an 
IRI scheme or an URI scheme, I think it would be much more productive to 
try and see whether this scheme proposal fits
http://www.ietf.org/id/draft-hansen-iri-4395bis-irireg-00.txt
(which allows registration of new schemes both as URIs and as IRIs and 
makes clear that there is only one registry), and on the other hand 
check whether draft-hansen-iri-4395bis-irireg is written so that it 
allows to do what works best in the case of the 'javascript:' scheme.

[followups please only to one or the other list, thanks]

Regards,    Martin.

On 2010/09/15 23:13, Julian Reschke wrote:
> On 15.09.2010 15:52, Bjoern Hoehrmann wrote:
>> Hi,
>>
>> http://www.ietf.org/id/draft-hoehrmann-javascript-scheme-02.txt is an
>> updated draft for the registration of the "javascript" scheme. I do not
>> think I've received any feedback on it since I published the previous
>> version a year ago. Earlier feedback [1] [2] [3] should be accounted for
>> except some requests for elaboration on how the scheme is different or
>> wrong or dangerous or something along those lines. I had no inspiration
>> concerning that in the past year, but I am happy to consider proposals
>> with spec-ready text on that. Otherwise I intend to propose publication
>> of the document as Informational RFC pretty much as it is.
>>
>> [1] http://lists.w3.org/Archives/Public/uri/2006Nov/thread.html
>> [2] http://www.ietf.org/mail-archive/web/uri-review/current/thrd13.html
>> [3] http://www.ietf.org/mail-archive/web/uri-review/current/thrd14.html
>>
>> regards,
>
> Hi Björn,
>
> thanks for the work on this.
>
> One major comment I have is that it seems that you define a IRI scheme.
> My understanding was that the current way to do this is that you define
> a URI scheme, and then just let RFC 3987 apply to it, resulting in an
> IRI scheme.
>
> That being said, a few nits...:
>
>> The first operation, content retrieval, defines which script code a
>> given 'javascript' resource identifier represents. This operation is
>> fully defined in this document and some applications might take
>> advantage of only this operation.
>
> Maybe "content retrieval" is misleading -- after all, nothing is being
> retrieved. Maybe "content identification" or "script code identification"?
>
>> A resource identifier conforms to this specification if and only if
>> it is a valid IRI and application of the content retrieval operation
>> yields a valid application/javascript entity without generating any
>> error. Use of a byte order mark is discouraged; percent-encoding of
>> "/" (U+002F SOLIDUS) characters is encouraged.
>
> This implies that most javascript URIs are invalid due to the use of SP
> characters. There's nothing we can do about it, but maybe it should be
> mentioned.
>
> Q: will implementations treat %20 properly?
>
>> 3. If the sequence starts with the sequence 0xEF 0xBB 0xBF (the
>> UTF-8 signature, or byte order mark), discard this sequence.
>
> "this sequence" is ambiguous here :-)
>
>> For instance, a 'javascript' resource identifier might be embedded in
>> a HTML document and depened on properties of the document. A typical
>
> "depend"
>
>> The in-context evalutation operation necessitates extreme caution in
>
> "evaluation"
>
> Best regards, Julian
> _______________________________________________
> Uri-review mailing list
> Uri-review@ietf.org
> https://www.ietf.org/mailman/listinfo/uri-review
>
>

-- 
#-# Martin J. Dürst, Professor, Aoyama Gakuin University
#-# http://www.sw.it.aoyama.ac.jp   mailto:duerst@it.aoyama.ac.jp