Re: [apps-discuss] Retroactive application of draft-ietf-appsawg-uri-scheme-reg - comprehensive review

"Roy T. Fielding" <fielding@gbiv.com> Sat, 11 April 2015 03:44 UTC

Return-Path: <fielding@gbiv.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C066E1B2F3A; Fri, 10 Apr 2015 20:44:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wOpKddX-LCWR; Fri, 10 Apr 2015 20:44:44 -0700 (PDT)
Received: from homiemail-a113.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 3EA4B1B2F39; Fri, 10 Apr 2015 20:44:44 -0700 (PDT)
Received: from homiemail-a113.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a113.g.dreamhost.com (Postfix) with ESMTP id 011F720058DAC; Fri, 10 Apr 2015 20:44:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=CbMnNnHZo9CT8ihHORAzYc9v25Y=; b=ANiuYHBC1WigGgVufg8rFfi3mfgL NCQFpyfmNaDhAnOF+U1INhqv+qAGW/dWmWxeeBbOjlp9MPKae6Ij97eGZzecgCvG svjbMyFxAvNrFuB0qAdNc0G4H5HhrGznpb++e8tHzkLV6JrmY4ATC4oBzzO3jDtb hGRnM9ADYglFtpI=
Received: from [192.168.1.18] (ip68-228-83-124.oc.oc.cox.net [68.228.83.124]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a113.g.dreamhost.com (Postfix) with ESMTPSA id DD6A320058DAB; Fri, 10 Apr 2015 20:44:43 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CALaySJJZsCuQHUSMFULfH33ke63_Xrka8OMft2Dp0NPJNKLF5w@mail.gmail.com>
Date: Fri, 10 Apr 2015 20:44:34 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <327268B5-3817-42F1-90B3-D44158B0AA5D@gbiv.com>
References: <2E49FA112B054FFAED69D8A1@JcK-HP8200.jck.com> <CALaySJ+JdE5YrBuXv343_CfNP4mYxOR94JV4q_Uso4VoWfD=Ng@mail.gmail.com> <723FBC93979E1019101319C5@JcK-HP8200.jck.com> <4EA0B2F8-5109-49EA-8BAF-0199D1640407@gbiv.com> <55274198.5030309@andyet.net> <CA288E99-DE72-4DCF-9BD5-822A9C8F41F9@gbiv.com> <CALaySJJZsCuQHUSMFULfH33ke63_Xrka8OMft2Dp0NPJNKLF5w@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/apps-discuss/KBVnlLlO1fnp6BAfXraIAu0n8H8>
Cc: "draft-ietf-appsawg-uri-scheme-reg.all@ietf.org" <draft-ietf-appsawg-uri-scheme-reg.all@ietf.org>, IESG <iesg@ietf.org>, Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] Retroactive application of draft-ietf-appsawg-uri-scheme-reg - comprehensive review
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2015 03:44:45 -0000

> On Apr 10, 2015, at 8:38 AM, Barry Leiba <barryleiba@computer.org> wrote:
> 
>> No scheme can prohibit fragments. They are not part of the scheme's syntax.
> 
> We continue to have a confusion between syntax and semantics here.
> 
> I absolutely agree that no scheme can say that fragments are
> syntactically invalid, because the schemes do not control the syntax
> of a URI.
> 
> But a scheme can certainly say that fragments make no semantic sense
> within that scheme, and that if a URIs uses that scheme and contains a
> fragment, it is not a well formed URI within that scheme.

No, they can't, or at least they cannot say that truthfully.

> It's rather like saying that English words are composed of characters
> from the set "abcdefghijklmnopqrstuvwxyz", and, therefore, the string
> "qwx" is a valid piece of an English word (syntax)... but that, in
> fact, no valid English words contain "qwx" (semantics).

Sorry, you've lost me.

It is more like saying that, because host and port are adjacent to each other in
the syntax, it is therefore possible for DNS to specify what ports are allowed.

> That's not a layering violation at all -- it has to be up to the
> scheme to say what the semantic meaning of a fragment is within that
> scheme, or whether fragments have any meaning at all.

It has nothing to do with the scheme. Nothing whatsoever. It is true that there
are many resources, regardless of scheme, for which a fragment identifier wouldn't
have much practical purpose other than as a name, but that's only because
nobody has found a reason to resolve them yet. In most cases, this is because
deployment of the scheme is so small that it isn't worth anyone's bother to create
a gateway for information about its identified resources.

The problem is that if we let people write incorrect statements about fragments
within scheme specifications, we lose interoperability around one of the main
extension points in Web architecture. We lose the ability to process the results
of interactions independently of the protocols and systems used to obtain them.

....Roy