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

Julian Reschke <julian.reschke@gmx.de> Tue, 28 February 2012 20:58 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1EA521E806A for <apps-discuss@ietfa.amsl.com>; Tue, 28 Feb 2012 12:58:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.31
X-Spam-Level:
X-Spam-Status: No, score=-104.31 tagged_above=-999 required=5 tests=[AWL=-1.711, BAYES_00=-2.599, 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 aRrSzcHya6uS for <apps-discuss@ietfa.amsl.com>; Tue, 28 Feb 2012 12:58:37 -0800 (PST)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by ietfa.amsl.com (Postfix) with SMTP id 20AD821E8064 for <apps-discuss@ietf.org>; Tue, 28 Feb 2012 12:58:34 -0800 (PST)
Received: (qmail invoked by alias); 28 Feb 2012 20:51:54 -0000
Received: from p3EE2676A.dip.t-dialin.net (EHLO [192.168.178.36]) [62.226.103.106] by mail.gmx.net (mp019) with SMTP; 28 Feb 2012 21:51:54 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX185qERO0SA57ANewsQkd/zOqA7fLl4dOgHr1UEKgn bSd4e1G7oYpvN4
Message-ID: <4F4D3E66.7060402@gmx.de>
Date: Tue, 28 Feb 2012 21:51:50 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <4F4D2FCB.8030805@gmx.de> <1154EF26-CC2F-49DC-87F0-04AD88F1C7FD@tzi.org>
In-Reply-To: <1154EF26-CC2F-49DC-87F0-04AD88F1C7FD@tzi.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: IETF Apps Discuss <apps-discuss@ietf.org>, draft-ietf-core-link-format@tools.ietf.org, The IESG <iesg@ietf.org>, core@ietf.org
Subject: Re: [apps-discuss] APPSDIR review of draft-ietf-core-link-format-11
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 28 Feb 2012 20:58:37 -0000

On 2012-02-28 21:13, Carsten Bormann wrote:
> 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...)

Good to hear I'm not alone with that complaint :-)

>> [...] 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).

Maybe the empty name?

>> 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.

Ack.

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

Genau. Schönen Abend noch,

Julian