Re: [media-types] Fwd: New Version Notification for draft-amundsen-richardson-foster-alps-01.txt

Graham Klyne <gk@ninebynine.org> Tue, 03 March 2015 11:38 UTC

Return-Path: <gk@ninebynine.org>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 36BD71A01E7 for <media-types@ietfa.amsl.com>; Tue, 3 Mar 2015 03:38:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.6
X-Spam-Level:
X-Spam-Status: No, score=-3.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
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 chhgatO6vVJl for <media-types@ietfa.amsl.com>; Tue, 3 Mar 2015 03:38:26 -0800 (PST)
Received: from relay16.mail.ox.ac.uk (relay16.mail.ox.ac.uk [163.1.2.166]) by ietfa.amsl.com (Postfix) with ESMTP id 0DCC11A01AE for <media-types@ietf.org>; Tue, 3 Mar 2015 03:38:26 -0800 (PST)
Received: from smtp6.mail.ox.ac.uk ([163.1.2.206]) by relay16.mail.ox.ac.uk with esmtp (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1YSl9c-0005ru-qd; Tue, 03 Mar 2015 11:38:24 +0000
Received: from oerc-dynamic-220.oerc.ox.ac.uk ([129.67.194.220]) by smtp6.mail.ox.ac.uk with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <gk@ninebynine.org>) id 1YSl9c-0009b8-K4; Tue, 03 Mar 2015 11:38:24 +0000
Message-ID: <54F59D36.9050000@ninebynine.org>
Date: Tue, 03 Mar 2015 11:38:30 +0000
From: Graham Klyne <gk@ninebynine.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: mike amundsen <mamund@yahoo.com>, media-types@ietf.org
References: <20150302172347.19316.85751.idtracker@ietfa.amsl.com> <CAPW_8m5NE9Vpm-E+JcUewXoqwvOr5TyVKEK3aaBLYOMEdF4oBw@mail.gmail.com>
In-Reply-To: <CAPW_8m5NE9Vpm-E+JcUewXoqwvOr5TyVKEK3aaBLYOMEdF4oBw@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Oxford-Username: zool0635
Archived-At: <http://mailarchive.ietf.org/arch/msg/media-types/6iAEMHWL02r6svc61R8gs-G9XQ0>
Subject: Re: [media-types] Fwd: New Version Notification for draft-amundsen-richardson-foster-alps-01.txt
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Mar 2015 11:38:28 -0000

Hi,

Reviewing:
http://tools.ietf.org/id/draft-amundsen-richardson-foster-alps-01.html

I'm just taking a quick skim here, and offer some immediate comments (I've yet 
to fully grasp the big picture).

...

Sect 1.4

"This URL SHOULD be assumed to be dereferencable." reads oddly (making a 
normative statement about an assumption?).

Maybe just "This URL SHOULD be dereferencable."?

...

Sect 2.2.2: missing {...} around "alps" content?

{ "alps : "doc" : { "value" : "..." }, ... }

(cf. sect 2.3.3.1)

...

2.2.7.3. Link Relation Values and 'id' or 'name'

I see a problem here.  It's all very well to say "If the resulting link relation 
type is the same as a registered relation type, the descriptor MUST not change 
the meaning of the IANA relation type.".

But an implementer cannot know what new relation types will be implemented in 
future.  An application that is conformant at the time of implementation may be 
rendered non-conformant by subsequent IANA registrations.  I think this is not 
consistent with progressing the notion of "software engineering on the scale of 
decades" which I'm guessing is a motivation for this work.

One possible approach might be to require any non-registered value to be a URI 
or URI reference, and introduce a distinguishable prefix for local ids.  (e.g. 
use fragment syntax such as '#idvalue' or a common URN prefix such as 
'urn:ietf:alps:id:idvalue'.  I'm not suggesting these as specific solutions as I 
don't yet understand enough of the scope of what you're proposing, just as 
examples of alternative approaches to contemplate.)

...

Section 2.2.12

I'm not understanding what you mean by the description of type="semantic".  The 
examples given (html.span and html.input) aren't helping in this respect.

My guess is that some kind of introduction to the kind of hypermedia model your 
basing this upon is needed.  I think there's a lot of tacit knowledge permeating 
the spec that needs to be surfaced for those who aren't in tune with your approach.

...

Section 4.

I think the media type registrations should reference the fragment id 
interpretation (sect 2.2.7.2).

...

HTH

#g
--



On 02/03/2015 17:42, mike amundsen wrote:
> The updated I-D for ALPS was just posted it to the IETF tracker (see
> details below). I've also updated the web site[0] .
>
> We're looking for any/all comments and feedback. Feel free to discuss on
> the ALPS list[1] or here, and to open/update issues in github[2] for the
> next round of changes.
>
> -- cheers.
>
> [0]  http://alps.io/spec/index.html
> [1] https://groups.google.com/forum/?fromgroups=#!forum/alps-io
> [2] https://github.com/alps-io/spec/issues
>
>
> mamund
> +1.859.757.1449
> skype: mca.amundsen
> http://amundsen.com/blog/
> http://twitter.com/mamund
> https://github.com/mamund
> http://linkedin.com/in/mamund
>
>
>
> ---------- Forwarded message ----------
> From: <internet-drafts@ietf.org>
> Date: Mon, Mar 2, 2015 at 12:23 PM
> Subject: New Version Notification for
> draft-amundsen-richardson-foster-alps-01.txt
> To: Mike Amundsen <mca@amundsen.com>, Leonard Richardson <
> leonardr@segfault.org>, "Mark W. Foster" <mwf@fosrias.com>
>
>
>
> A new version of I-D, draft-amundsen-richardson-foster-alps-01.txt
> has been successfully submitted by Mike Amundsen and posted to the
> IETF repository.
>
> Name:           draft-amundsen-richardson-foster-alps
> Revision:       01
> Title:          Application-Level Profile Semantics (ALPS)
> Document date:  2015-02-28
> Group:          Individual Submission
> Pages:          27
> URL:
> http://www.ietf.org/internet-drafts/draft-amundsen-richardson-foster-alps-01.txt
> Status:
> https://datatracker.ietf.org/doc/draft-amundsen-richardson-foster-alps/
> Htmlized:
> http://tools.ietf.org/html/draft-amundsen-richardson-foster-alps-01
> Diff:
> http://www.ietf.org/rfcdiff?url2=draft-amundsen-richardson-foster-alps-01
>
> Abstract:
>     This document describes ALPS, a data format for defining simple
>     descriptions of application-level semantics, similar in complexity to
>     HTML microformats.  An ALPS document can be used as a profile to
>     explain the application semantics of a document with an application-
>     agnostic media type (such as HTML, HAL, Collection+JSON, Siren,
>     etc.).  This increases the reusability of profile documents across
>     media types.
>
> Editorial Note (To be removed by RFC Editor)
>
>     Distribution of this document is unlimited.  Comments should be sent
>     to the IETF Media-Types mailing list (see [1]).
>
>
>
>
> Please note that it may take a couple of minutes from the time of submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> The IETF Secretariat
>
>
>
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types
>