Re: [core] [apps-discuss] APPSDIR review of draft-ietf-core-link-format-11

Carsten Bormann <cabo@tzi.org> Tue, 28 February 2012 20:14 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 042BB21E8053; Tue, 28 Feb 2012 12:14:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.426
X-Spam-Level:
X-Spam-Status: No, score=-106.426 tagged_above=-999 required=5 tests=[AWL=-0.177, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 teaZbTYL7s67; Tue, 28 Feb 2012 12:14:33 -0800 (PST)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) by ietfa.amsl.com (Postfix) with ESMTP id C0F2721E8018; Tue, 28 Feb 2012 12:14:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q1SKDoRv007727; Tue, 28 Feb 2012 21:13:50 +0100 (CET)
Received: from [192.168.217.103] (p5489AA88.dip.t-dialin.net [84.137.170.136]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id A78E4A04; Tue, 28 Feb 2012 21:13:49 +0100 (CET)
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4F4D2FCB.8030805@gmx.de>
Date: Tue, 28 Feb 2012 21:13:48 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <1154EF26-CC2F-49DC-87F0-04AD88F1C7FD@tzi.org>
References: <4F4D2FCB.8030805@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1257)
Cc: core@ietf.org, draft-ietf-core-link-format@tools.ietf.org, The IESG <iesg@ietf.org>, IETF Apps Discuss <apps-discuss@ietf.org>
Subject: Re: [core] [apps-discuss] APPSDIR review of draft-ietf-core-link-format-11
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/core>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 28 Feb 2012 20:14:39 -0000

On Feb 28, 2012, at 20:49, Julian Reschke wrote:  A really good, comprehensive review.

Let me grab my implementer hat and pick three of the items.

> I would recommend to allow both token and quoted-string for all new parameters.

I whole-heartedly agree.
I'd really like to lose the code commencing:

    MUSTBEQUOTED = map_to_true(%w{anchor title rt if})

(The same issue appears to be apply to »anchor« and »title« in RFC 5988.  And I probably even missed some others that another implementer will take for granted, likely to cause some immediate interop issues.  Please raise that erratum now...)

> [...] Which makes it impossible to use "uri" as link attribute. Maybe this should be noted. Alternatively maybe use a format that doesn't require overloading the name.

We could use href as the ersatz attribute name, or something weird that is not allowed by the »parmname« production.  Please also see draft-bormann-core-links-json-00.txt, where I had to solve the same problem (and tried to solve it in a way that it causes the same damage this use in link-format already causes).

> I note that hardwiring URI query parameters into the protocol is *not* Restful.

Yes, we are painfully aware of that.  A better way has not emerged yet.

Again, thanks for a very good review.  Let's now work on making the points actionable.

Grüße, Carsten