Re: [Uri-review] New icon URI scheme vs new URN namespace

David Booth <david@dbooth.org> Wed, 19 May 2010 14:48 UTC

Return-Path: <david@dbooth.org>
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 956703A6AA2 for <uri-review@core3.amsl.com>; Wed, 19 May 2010 07:48:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level:
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5 tests=[BAYES_50=0.001, RCVD_IN_DNSWL_LOW=-1]
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 uMWDXkgux+E6 for <uri-review@core3.amsl.com>; Wed, 19 May 2010 07:48:52 -0700 (PDT)
Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by core3.amsl.com (Postfix) with SMTP id 8AC833A6C7A for <uri-review@ietf.org>; Wed, 19 May 2010 07:44:08 -0700 (PDT)
Received: (qmail 5575 invoked from network); 19 May 2010 14:44:00 -0000
Received: from 192.35.79.70 (HELO ?10.78.164.89?) (192.35.79.70) by relay01.pair.com with SMTP; 19 May 2010 14:44:00 -0000
X-pair-Authenticated: 192.35.79.70
From: David Booth <david@dbooth.org>
To: Graham Klyne <GK-lists@ninebynine.org>
In-Reply-To: <4BF37E16.1030600@ninebynine.org>
References: <4BF2661D.40508@ninebynine.org> <1274190888.13763.1923.camel@dbooth-laptop> <4BF37E16.1030600@ninebynine.org>
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 19 May 2010 10:44:00 -0400
Message-ID: <1274280240.13763.10599.camel@dbooth-laptop>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.1
Content-Transfer-Encoding: 7bit
Cc: uri-review@ietf.org
Subject: Re: [Uri-review] New icon URI scheme vs new URN namespace
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: Wed, 19 May 2010 14:48:53 -0000

On Wed, 2010-05-19 at 06:58 +0100, Graham Klyne wrote:
> David Booth wrote:
> >> Approach 2 is, prima facie, a preferred route for the web/W3C community's 
> >> preference for using http: URIs (e.g. per 
> >> http://www.w3.org/DesignIssues/LinkedData.html).  But in this case, I think it 
> >> could be an inappropriate overloading of http: semantics, as the proposed icon: 
> >> scheme explicitly defines retrieval semantics that are at variance with defined 
> >> http: retrieval semantics.
> > 
> > No, the retrieval semantics would not be at variance with http:
> > retrieval semantics any more than *caching* is at variance with http:
> > retrieval semantics.  Presumably, there would be one authoritative
> > version of each icon, right?  (Otherwise, what's the point in defining
> > them?)  If the *authoritative* version is identified by an http: URI,
> > but a persistently *cached* version is normally displayed directly from
> > inside the user's browser, this seems to me that it would work *very*
> > well with existing semantics and standards.  And I believe it meets the
> > objective of having standard, URI-named icons that are display directly
> > from the browser (without having to retrieve them over the network).
> > Just think of the browser's treatment of the icons as long-lived,
> > persistent caching.
> 
> I did consider that, but I think the intent of the spec is to allow the browser 
> to choose an icon image appropriate to the platform, which could not be achieved 
> by simple caching.  That is, no *authoritative* version for each icon.  

Okay, so I guess instead of considering it to be the "authoritative"
version of an icon, it should be considered the nominal or "fallback"
version, and the actual version that is displayed may be platform
dependent.

> I 
> suppose one *could* think of such cacheing as being user-agent-dependent (hence 
> Icons retrieved to suit the browser+platform), but this feels to me like it's 
> twisting the circumstances to fit a preference.  (Also, I'm not sure that 
> user-agent-sensitive cacheing is allowed, and if so I suspect it's not widely 
> implemented).

But browsers normally do their own local caching, and that certainly is
user-agent-specific.

> 
> OTOH, an advantage of using HTTP is that it could be supported in browsers that 
> don't recognize the special form of icon URIs, which is a moderately compelling 
> argument.

Yes, it provides a nice fallback.

> 
> I think one may need to review the original end-requirements that the icon spec 
> is intending to address to make a fully rational choice.

Is there a document that describes the requirements or intent more
fully?
http://draft-icon-uri-scheme.googlecode.com/hg/draft-lafayette-icon-uri-scheme-00.html
is a bit sketchy in this regard.



-- 
David Booth, Ph.D.
Cleveland Clinic (contractor)

Opinions expressed herein are those of the author and do not necessarily
reflect those of Cleveland Clinic.