Re: [ietf-types] Registration of media type application/senml+json

Ned Freed <ned.freed@mrochek.com> Wed, 22 September 2010 01:31 UTC

Return-Path: <ned.freed@mrochek.com>
X-Original-To: ietf-types@core3.amsl.com
Delivered-To: ietf-types@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 291D83A6892 for <ietf-types@core3.amsl.com>; Tue, 21 Sep 2010 18:31:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.831
X-Spam-Level:
X-Spam-Status: No, score=-1.831 tagged_above=-999 required=5 tests=[AWL=0.168, BAYES_00=-2.599, J_CHICKENPOX_54=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RQy6pg3PSz9b for <ietf-types@core3.amsl.com>; Tue, 21 Sep 2010 18:31:37 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by core3.amsl.com (Postfix) with ESMTP id 7F0313A689E for <ietf-types@ietf.org>; Tue, 21 Sep 2010 18:31:33 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NS5SX5TAVK005SQ4@mauve.mrochek.com> for ietf-types@ietf.org; Tue, 21 Sep 2010 18:31:57 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01NS5K8P1NFK000CVX@mauve.mrochek.com>; Tue, 21 Sep 2010 18:31:55 -0700 (PDT)
Message-id: <01NS5SX4C0CK000CVX@mauve.mrochek.com>
Date: Tue, 21 Sep 2010 18:15:43 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Tue, 21 Sep 2010 16:00:44 -0600" <4C992B0C.7000407@stpeter.im>
MIME-version: 1.0
Content-type: TEXT/PLAIN
References: <FFD51C60-9887-47E4-B207-B5BC1AFBD67E@cisco.com> <4C992B0C.7000407@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrochek.com; s=mauve; t=1285117623; bh=WlTQ2HxmUn9WtvlLLhMc4ApbN7zH/mZUwWpsqBTBdiU=; h=Cc:Message-id:Date:From:Subject:In-reply-to:MIME-version: Content-type:References:To; b=DUKhgkJqz9SM22JqXttq+qnaulbw2G/Yzn0y9LrsHR+NbKvPHl8cHIINc5Bto4/C5 tC3/Pq0VtrjtP8b+jOcS7g5OPodO/T4Lkvu+uIBdV1hPzne7Ou2v9bD2qvrgckIfmZ /7O/tzcD/FseUMkrAEn8p3EXRG7SrK+0zxyUAHAc=
Cc: ietf-types@ietf.org
Subject: Re: [ietf-types] Registration of media type application/senml+json
X-BeenThere: ietf-types@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Media \(MIME\) type review" <ietf-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf-types>
List-Post: <mailto:ietf-types@ietf.org>
List-Help: <mailto:ietf-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-types>, <mailto:ietf-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Sep 2010 01:31:40 -0000

> On 9/21/10 1:12 PM, Cullen Jennings wrote:

> >   Type name:  application
> >
> >    Subtype name:  senml+json

> I thought that the "+xml" convention was for the special class of media
> types that represent XML MIME entities (RFC 3023). Is there a similar
> class of "JSON MIME entities" that would justify "+json"? I don't see a
> definition for such a class in RFC 4627 (not that I think it's a bad idea).

The situation surrounding the use of +suffix constructs is a little unclear.
RFC 3023 set up the rules for +xml fairly well (but see my earlier comments
about possible coupling of these suffixes to parameters like charset). However,
RFC 3023 said nothing about other +suffix constructs. And people definitely
want to use the convention for other popular structuring syntaxes. And all RFC
4288 has to say is:

    More generally, "+suffix" constructs should be used with care, given the
    possibility of conflicts with future suffix definitions. 

In my role as IANA media tyypes reviewer, I have interpreted this as meaning
that the +suffix construct should only be used when "suffix" actually
identifies a well known structuring syntax. I have pushed back on other
uses (I believe there was someone who wanted to register something like
application/vnd.typename+vendorname, for instance). But beyond that I have
allowed such registrations to go through.

What I do not do, and wish I could do, is push back on registrations of types
based on, say, JSON, saying they should be using +json. I don't believe the
current rules allow me to do that.

What I think is needed here is a revision/update to RFC 4288 to establish a
registry of allowed +suffix constructs as well as expanded guidelines for their
use. I also think pretty much any well defined structuring syntax should be
allowed in the registry. (It's not like there's a shortage of them either.)

				Ned