Re: [Uri-review] Discussion of Blob URI Scheme for Binary Data Access | IETF

Mykyta Yevstifeyev <evnikita2@gmail.com> Thu, 11 August 2011 03:42 UTC

Return-Path: <evnikita2@gmail.com>
X-Original-To: uri-review@ietfa.amsl.com
Delivered-To: uri-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6AA521F898E for <uri-review@ietfa.amsl.com>; Wed, 10 Aug 2011 20:42:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.063
X-Spam-Level:
X-Spam-Status: No, score=-3.063 tagged_above=-999 required=5 tests=[AWL=-0.065, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5SAMQ-I3TwDA for <uri-review@ietfa.amsl.com>; Wed, 10 Aug 2011 20:42:31 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0906B21F893C for <uri-review@ietf.org>; Wed, 10 Aug 2011 20:42:30 -0700 (PDT)
Received: by fxe6 with SMTP id 6so1573007fxe.31 for <uri-review@ietf.org>; Wed, 10 Aug 2011 20:43:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type; bh=8QMtUvnUCCQiUR2TeKk6l5FKi4icCI1Vprv7KsXuJQQ=; b=HMShNuolWEGKYbSoD7OmrKKumvpi0JIi6f1du2EnwsVwYCab6DDs7NgFXMnYYMZvX6 MhFpKT2IfrU0/kS14WQlEt8kuBp7tI+vnbKOWWu8HoN1us0fmmz72t7FLLSKclBzBoPW hEGxbbDv5cyybAuvG+wUQ0rujcQssE3fLrs9A=
Received: by 10.223.149.199 with SMTP id u7mr5136835fav.129.1313034183525; Wed, 10 Aug 2011 20:43:03 -0700 (PDT)
Received: from [127.0.0.1] ([195.191.104.224]) by mx.google.com with ESMTPS id d1sm1216069fai.28.2011.08.10.20.43.01 (version=SSLv3 cipher=OTHER); Wed, 10 Aug 2011 20:43:02 -0700 (PDT)
Message-ID: <4E434FEB.3000206@gmail.com>
Date: Thu, 11 Aug 2011 06:43:39 +0300
From: Mykyta Yevstifeyev <evnikita2@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: uri@w3.org
References: <4DCD72F3.3010807@mozilla.com> <4DCE3801.2080401@gmx.de> <4DD15938.1080505@mozilla.com> <4DDC19F2.3090405@gmx.de> <4E43042E.6090901@mozilla.com>
In-Reply-To: <4E43042E.6090901@mozilla.com>
Content-Type: multipart/alternative; boundary="------------030107090301090000070004"
Cc: "uri-review@ietf.org" <uri-review@ietf.org>
Subject: Re: [Uri-review] Discussion of Blob URI Scheme for Binary Data Access | IETF
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Thu, 11 Aug 2011 03:42:32 -0000

Arun,

I think you should send the request for reviews on uri-review@ietf.org 
list.  I'm cc'ing this message there.

Several comments.  As a global editorial.  You use the *scheme:* 
notation, whereas the *'scheme'* or *scheme* notation is technically 
clearer.  See RFC Erratum Report 2756 
(http://www.rfc-editor.org/errata_search.php?rfc=6196&eid=2756).

Section 6.7.3:

> |blob = scheme ":" opaqueString [fragIdentifier]|

RFC 3986 specified that particular schemes' syntax should not define 
fragment IDs (also see below).

Section 6.7.3.1:

> |hexDigit =
>           "0" / "1" / "2" / "3" / "4" / "5" / "6" / "7" / "8" / "9" /
>           "a" / "b" / "c" / "d" / "e" / "f" /
>           "A" / "B" / "C" / "D" / "E" / "F"|

This could be imported from RFC 5234 <HEXDIG> 
(http://tools.ietf.org/html/rfc5234#appendix-B.1).

Ibid:

> UUID is one potential option available to user agents for use with 
> Blob URIs as opaque strings, and their use is strongly encouraged.

What is the generic syntax for opaqueString, except one defined for 
UUIDs?  I suppose it is RFC 3986 <path-rootless> here, but considering 
36 chars min. you may define

> |opaqueString = 36*pchar|

where <pchar> are defined in RFC 3986.  I see there are some limitations 
on allowed char range, so you may reflect this is the ABNF as well.

Section 6.7.4 isn't necessary.  You MUST NOT describe fragment ID in the 
scheme's syntax, neither must you define it semantics.

You should be clear about the scheme's semantics, what does a particular 
'blob' URI refer to and how it should be resolved.  Section 6.7.7 may 
lead one to the conclusion that 'blob' URIs are connected with HTTP, but 
I think clarifying this issue won't be unnecessary.

I see your document lacks IANA considerations, which would request 
scheme's registration with IANA, as required by RFC 4395.

Thanks,
Mykyta Yevstifeyev

11.08.2011 1:20, Arun Ranganathan wrote:
> Greetings URI Listserv,
>
> Firstly, sincere apologies for the delay between responses about the 
> matter of the File API and the Blob URI scheme.
>
> Secondly, many thanks for all the advice you've sent my way -- it's 
> been *extremely* useful.  I have updated the File API Editor's Draft:
>
> http://dev.w3.org/2006/webapi/FileAPI/#url
>
> and have informed my edits based on actionable feedback by Joseph A. 
> P. Holsten [1], Julian Reschke (e.g. see email #[2], amongst others), 
> and Graham Klyne (both in email# [3] and off list).  My goal is to 
> respond to concerns raised on this list before moving towards W3C's CR 
> phase; where feasible, I've responded to your feedback with additional 
> details, notably justification of choices made as well as some more 
> formalism in the definition of things.
>
> Thanks again,
>
> -- A*
>
> [1] http://lists.w3.org/Archives/Public/uri/2011May/0012.html
> [2] http://lists.w3.org/Archives/Public/uri/2011May/0011.html
> [3] http://lists.w3.org/Archives/Public/uri/2011May/0006.html
>
>