Re: [Json] is it possible to re-register application/json with a profile media type parameter?

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Thu, 07 November 2013 01:29 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 066DD21E8198 for <json@ietfa.amsl.com>; Wed, 6 Nov 2013 17:29:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.842
X-Spam-Level:
X-Spam-Status: No, score=-103.842 tagged_above=-999 required=5 tests=[AWL=-0.052, BAYES_00=-2.599, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, MIME_8BIT_HEADER=0.3, 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 hN84ir4shfUL for <json@ietfa.amsl.com>; Wed, 6 Nov 2013 17:29:38 -0800 (PST)
Received: from scintmta02.scbb.aoyama.ac.jp (scintmta02.scbb.aoyama.ac.jp [133.2.253.34]) by ietfa.amsl.com (Postfix) with ESMTP id 621F821E80AF for <json@ietf.org>; Wed, 6 Nov 2013 17:29:38 -0800 (PST)
Received: from scmse02.scbb.aoyama.ac.jp ([133.2.253.231]) by scintmta02.scbb.aoyama.ac.jp (secret/secret) with SMTP id rA71TU59028893; Thu, 7 Nov 2013 10:29:32 +0900
Received: from (unknown [133.2.206.134]) by scmse02.scbb.aoyama.ac.jp with smtp id 493e_c587_0ca56fb6_474c_11e3_b4b7_001e6722eec2; Thu, 07 Nov 2013 10:29:30 +0900
Received: from [IPv6:::1] (unknown [133.2.210.1]) by itmail2.it.aoyama.ac.jp (Postfix) with ESMTP id 3FF33BF545; Thu, 7 Nov 2013 10:29:30 +0900 (JST)
Message-ID: <527AECE4.3000002@it.aoyama.ac.jp>
Date: Thu, 07 Nov 2013 10:29:08 +0900
From: "\"Martin J. Dürst\"" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100722 Eudora/3.0.4
MIME-Version: 1.0
To: Erik Wilde <dret@berkeley.edu>
References: <527ACC8A.5050002@berkeley.edu>
In-Reply-To: <527ACC8A.5050002@berkeley.edu>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "json@ietf.org" <json@ietf.org>
Subject: Re: [Json] is it possible to re-register application/json with a profile media type parameter?
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 07 Nov 2013 01:29:49 -0000

Hello Erik,

I think that in terms of process lawyering, I wouldn't worry too much.

What matters is 1) whether this profile parameter really makes sense 
(see separate discussion), and 2) what happens with actual 
implementations when they see a profile parameter.

Regards,   Martin.

On 2013/11/07 8:11, Erik Wilde wrote:
> hello.
>
> during the JSON WG meeting, there was a brief exchange about the
> question whether it would be even possible to use 4627bis to introduce a
> "profile" media type parameter. regardless of whether that's a goal or
> not, i simply wanted to check if there is a problem with it.
>
> http://tools.ietf.org/html/rfc4288#section-4.3 says:
>
> "[...] the names, values, and meanings of any parameters MUST be fully
> specified when a media type is registered in the standards tree, [...]"
>
> as well as:
>
> "New parameters SHOULD NOT be defined as a way to introduce new
> functionality in types registered in the standards tree, although new
> parameters MAY be added to convey additional information that does not
> otherwise change existing functionality."
>
> i believe that this would apply to a "profile" parameter if that
> parameter was based on the RFC6096 model of a profile, meaning that
> anything that represents a profiled media type representation, also
> represents the media type in its unprofiled way.
>
> this means that 4627bis could add a profile media type parameter, and
> the I-JSON draft could use this parameter to expose the I-JSONness of
> representations on the media type. this indication would be optional,
> and old implementations not knowing anything about I-JSON or the profile
> media type parameter would keep working. one possible source of friction
> is that some implementations might get confused by this parameter
> showing up, even though the proper behavior would be to ignore
> unrecognized parameters.
>
> cheers,
>
> dret.
>