RE: [Uri-review] Request for review

Andrey Shur <andreysh@exchange.microsoft.com> Mon, 03 July 2006 21:38 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FxW7h-0004rp-0z; Mon, 03 Jul 2006 17:38:29 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FxW7g-0004rk-3n for uri-review@ietf.org; Mon, 03 Jul 2006 17:38:28 -0400
Received: from mail4.exchange.microsoft.com ([131.107.1.99]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FxW7f-0000Wr-Kn for uri-review@ietf.org; Mon, 03 Jul 2006 17:38:28 -0400
Received: from df-hub-02.exchange.corp.microsoft.com ([157.54.70.52]) by mail4.exchange.microsoft.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 3 Jul 2006 14:38:27 -0700
Received: from df-bhd-02.exchange.corp.microsoft.com ([157.54.71.211]) by df-hub-02.exchange.corp.microsoft.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 3 Jul 2006 14:38:26 -0700
Received: from df-pug-msg.exchange.corp.microsoft.com (157.54.69.159) by df-bhd-02.exchange.corp.microsoft.com (157.54.71.211) for IMCEAEX-_O=MICROSOFT_OU=FIRST+20ADMINISTRATIVE+20GROUP_CN=RECIPIENTS_CN=ANDREYSH@exchange.microsoft.com with mapi; Mon, 3 Jul 2006 14:38:24 -0700
From: Andrey Shur <andreysh@exchange.microsoft.com>
To: Mark Baker <distobj@acm.org>, Jerry Dunietz <jerryd@windows.microsoft.com>
Date: Mon, 03 Jul 2006 14:38:39 -0700
Subject: RE: [Uri-review] Request for review
Thread-Topic: [Uri-review] Request for review
Thread-Index: AcabigEuCzWehu2wSrOE0ggWSI3xtQDXMi7Q
Message-ID: <1D4A05136773CF4DB373F6FE4E10315001972C6196@df-pug-msg.exchange.corp.microsoft.com>
In-Reply-To: <c70bc85d0606290740i458c1666j85b09636d5a84679@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
AcceptLanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 03 Jul 2006 21:38:26.0625 (UTC) FILETIME=[04791310:01C69EE9]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 22bbb45ef41b733eb2d03ee71ece8243
Cc: "John Calhoon (LCA)" <John.Calhoon@microsoft.com>, TedHardie <hardie@qualcomm.com>, "uri-review@ietf.org" <uri-review@ietf.org>, Gregg Brown <greggb@microsoft.com>, "Jerry@scmailgw1.scop.aoyama.ac.jp" <Jerry@scmailgw1.scop.aoyama.ac.jp>
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
Errors-To: uri-review-bounces@ietf.org

Martin,

On 6/29/06, Martin Duerst <> wrote:
>>  And if we were to use fragment-identifiers for this purpose, we would
>> raise the problematic question of what base URI should be used when
>> dereferencing relative-URIs embedded within an individual part. If we
>> used a fragment-identifier to address the individual part, then by
>> ordinary conventions, the base URI for resolving relative references
>> embedded in the individual part would be the
>> (fragment-identifier-free) URI of the package as a whole.
>>
>> The combination of our three goals lead us to our specification:
>>
>> 1.  External absolute references to individual parts.
>> 2.  An individual part's URI can serve as a base URI.
>> 3.  Package can reside on any server implementing any protocol
>> supporting a GET-like operation, without requiring new code to be
>> deployed on the server.

>My solution also meets those goals, AFAICT.

Could you please explain how your solution works for the package residing on non-HTTP (e.g. FTP) server?

Regards,

- Andrey

-----Original Message-----
From: mbaker@gmail.com [mailto:mbaker@gmail.com] On Behalf Of Mark Baker
Sent: Thursday, June 29, 2006 7:41 AM
To: Jerry Dunietz
Cc: Martin Duerst; Andrey Shur; John Calhoon (LCA); Jerry@scmailgw1.scop.aoyama.ac.jp; TedHardie; uri-review@ietf.org; Gregg Brown
Subject: Re: [Uri-review] Request for review

Jerry,

On 6/23/06, Jerry Dunietz <jerryd@windows.microsoft.com> wrote:
> > I'm not sure I'm following you.  What do you mean by "the code works
> with"?
>
> Let me elaborate.  There exist programming frameworks in both
> the Java and .NET worlds that includes classes for dealing with and
> dereferencing URIs and/or URLs.  (The exact class names used varies.)
>
> My point was that any code which written to use such a general
> URI-dereferencing class need not be modified to deal with the
> introduction of the "pack:" scheme; the only modification would be
> the one required to incorporate "pack:" support into the URI-
> dereferencing class.  If a component's source code deals with, for
> example, the SVG media type, then it need not be modified to
> support SVG embedded within a package.

Ok, thanks.  I agree that is valuable.

> Furthermore, as I stated before, our goal is to allow for dereference-
> able external URIs pointing to individual part-resources within a
> package.  If we were to model the package only with a media type (or
> set of media types), then we would have to invent a fragment-identifier
> mechanism to allow for the referencing of individual parts within the
> package.

No, you wouldn't AFAICT.  You could use what I proposed before, about
using references relative to the URI of the package.

>  And if we were to use fragment-identifiers for this purpose,
> we would raise the problematic question of what base URI should be
> used when dereferencing relative-URIs embedded within an individual
> part. If we used a fragment-identifier to address the individual
> part, then by ordinary conventions, the base URI for resolving
> relative references embedded in the individual part would be the
> (fragment-identifier-free) URI of the package as a whole.
>
> The combination of our three goals lead us to our specification:
>
> 1.  External absolute references to individual parts.
> 2.  An individual part's URI can serve as a base URI.
> 3.  Package can reside on any server implementing any protocol
> supporting a GET-like operation, without requiring new code to be
> deployed on the server.

My solution also meets those goals, AFAICT.

> > As I see it, if the package were downloaded to the client, be it with
> > HTTP, FTP, or a pack-specific PACK-TP, it should ideally be
> > transferred using a media type which declares the format; say,
> > application/vnd.ms.pack.  And that media type should be used in
> > locating an application which can process the package.  I don't see
> > why the URI should be used in that process, because a) URIs are names
> > and don't typically carry that kind of info (the data scheme
> > notwithstanding), and b) that sounds just like what a media type is
> > for.
>
> We do have a number of media types for domain- or application-
> specific data formats that are defined in terms of the package-format
> spec.  We are considering the possibility, as you suggest, of a
> domain-independent media-type for a generic package, applicable
> independently of what the package holds.

Good.

>
> > It doesn't require any more server-side support than the new URI
> scheme, AFAICT.
>
> We believe that the URI scheme we propose requires *no* server-side
> support.

Right.  But you seemed to suggest that my alternate proposal does
require it.  I don't believe either approach does, at least for this
case of "download the package to the client".

> Finally, I would now like to re-introduce the "security" argument
> that I set aside earlier in this thread.  I said before that I didn't
> believe that the "security" topic was necessary to motivate our
> specification.  But we observe that some existing software makes
> security decisions based on determining whether or not two URIs
> reference resources within the same "site" or "zone".  We regard it
> to be a feature of our proposal that any such pre-existing software
> will consider any package-boundary to be a "site" boundary.  Any
> protections for cross-site references will apply to references
> that cross a package boundary.

Can you provide some more specifics about this software?

Cheers,

Mark.

_______________________________________________
Uri-review mailing list
Uri-review@ietf.org
https://www1.ietf.org/mailman/listinfo/uri-review