Re: [media-types] Media subtypes containing "+"

rhiaro <amy@rhiaro.co.uk> Mon, 28 December 2020 15:54 UTC

Return-Path: <amy@rhiaro.co.uk>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 236083A0C43 for <media-types@ietfa.amsl.com>; Mon, 28 Dec 2020 07:54:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=rhiaro.co.uk
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 os5bOLxYttVX for <media-types@ietfa.amsl.com>; Mon, 28 Dec 2020 07:53:59 -0800 (PST)
Received: from dragonfly.birch.relay.mailchannels.net (dragonfly.birch.relay.mailchannels.net [23.83.209.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B44453A0C29 for <media-types@ietf.org>; Mon, 28 Dec 2020 07:53:58 -0800 (PST)
X-Sender-Id: dreamhost|x-authsender|amy@rhiaro.co.uk
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3C6BF401C65 for <media-types@ietf.org>; Mon, 28 Dec 2020 15:53:56 +0000 (UTC)
Received: from pdx1-sub0-mail-a64.g.dreamhost.com (100-96-5-83.trex.outbound.svc.cluster.local [100.96.5.83]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 4EAF9401DA6 for <media-types@ietf.org>; Mon, 28 Dec 2020 15:53:54 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|amy@rhiaro.co.uk
Received: from pdx1-sub0-mail-a64.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Mon, 28 Dec 2020 15:53:56 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|amy@rhiaro.co.uk
X-MailChannels-Auth-Id: dreamhost
X-Inform-Eight: 25247e8205e81877_1609170835443_339739719
X-MC-Loop-Signature: 1609170835443:3144970854
X-MC-Ingress-Time: 1609170835443
Received: from pdx1-sub0-mail-a64.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a64.g.dreamhost.com (Postfix) with ESMTP id 044A686267 for <media-types@ietf.org>; Mon, 28 Dec 2020 07:53:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=rhiaro.co.uk; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=rhiaro.co.uk; bh=Pbu+ i/jB7aM/uJgnGthvg4r6iVE=; b=i51naMWoDabC5nqYhyAG6Rf1AWUf50THdCDd 92BLI08Wzix5ptI1fYJWs6e5S6sE/Q+Pnq2am7mKm6jnsQHV0yP299S7uLHnm3lL NKEgf1kjciGaBBFivCspze84IkW50vgyXETrcxHoQu+e3bQ4mFuZRpICsmrLVZHt MEez8tY=
Received: from [192.168.8.100] (94.196.84.231.threembb.co.uk [94.196.84.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: amy@rhiaro.co.uk) by pdx1-sub0-mail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 4F58B8039F for <media-types@ietf.org>; Mon, 28 Dec 2020 07:53:52 -0800 (PST)
To: media-types@ietf.org
References: <e2ee2ce0-641f-de3e-b1b6-d375b24328ad@rhiaro.co.uk> <029ad5c8-b441-3a1e-997d-af1187bc8149@rhiaro.co.uk> <2271d528-9ec5-5173-cad7-ced15d44dd51@oerc.ox.ac.uk> <6162e57e-184d-6715-b005-ee75122e8b94@digitalbazaar.com>
X-DH-BACKEND: pdx1-sub0-mail-a64
From: rhiaro <amy@rhiaro.co.uk>
Autocrypt: addr=amy@rhiaro.co.uk; prefer-encrypt=mutual; keydata= xsFNBFk/2SQBEADQQ2a5b0PuZGALNdVKKKsZckwDq+4nRLrh8RLCWnI4+ffwzCOvKGMmbXpK ynNFDlnYmUI1be323wcTRv87ygaziuZ6Lh3KuiAazxR0pmnTi8F5IIJBKb35InvJV+zP6Mvg BXi/kI30eBssrBjX+tGR3cOE8i0b9i0asZ/1NdFjVqGEiL23qRZ6fsMm1epClVDaUh7oJmGK GqLgUEUe3HQ6/Y7FzXI9kxM0zX4xgdu3cV0Nu7kT3jNpCQ+gXIz5nfVo26oLwhjiWeDYpfSv L4EjGF7Q4ozjWIWJKmiBj89xCZECwjEWUCrfGUvS6l1TuBeyVMfiTHPwgk5yN+SxcZe0HKpR O/fzZvDNTlD0pQBHSWY1HZh2BeZIdg7/eCZrrQvALI2G/up0mN2o0i0DmK2Mly9mKd5SCSSP 8yCq8o5Ls8bKIN93B0bIK4wZaNhRucrtBuVfvJjUMCOoLKyfJWOeym31ORHZPPm+u1+7gs43 BB7Bil9jf4mED8ZcR4KDLyZZUzI+VwB4szeDq+XSVRu55w37i3ecd9Bt81MfDuV7AzOeG6fh 0UbULhUb1Wfwx4Hnhfhr/pxoXXMfAYFPxCag/TMBg062NDoWoYgrOWOOMuPZdX7rMJlF/y3V oMibwikWpmr76ekLXb3MnAx2PPIothZ4f1EFGkCFnswgAOAOjQARAQABzRlyaGlhcm8gPGFt eUByaGlhcm8uY28udWs+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RdLI9GhU7RrULQgrovwY1pXHk8Qm3cF4nWZtpgmkoAceK/fp9IahbMlRGRywQ
Message-ID: <edf7baaf-b25b-7804-02e3-aaaadaea3f08@rhiaro.co.uk>
Date: Mon, 28 Dec 2020 15:53:49 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <6162e57e-184d-6715-b005-ee75122e8b94@digitalbazaar.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/IUf0FSDcc2Ud162g0wzNTYep6C4>
Subject: Re: [media-types] Media subtypes containing "+"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 28 Dec 2020 15:54:02 -0000

Hi all,

Thank you all for the feedback so far. I've made some edits based on the
suggestions to try to clarify things.

Still waiting for the upload confirmation email from the ietf tracker
for the new version, but meanwhile the draft is at:
https://rhiaro.github.io/draft-w3cdidwg-media-types-with-multiple-suffixes/

Amy

On 27.12.2020. 16:51, Manu Sporny wrote:
> On 12/24/20 8:41 AM, Graham Klyne wrote:
>> 1. In the discussion of suffix registrations, the draft says "each 
>> subset of suffixes, starting from the right-most suffix, MUST be 
>> individually registered as a subtype in its own right" - I think this
>> is incorrect use of the term "subtype" as used by the MIME
>> specification. RFC6838 uses the phrase "media type name suffix"
>> and/or "Structured Syntax Suffix Registration Template".
>>
>> https://www.rfc-editor.org/rfc/rfc6838.html#section-6
>>
>> It's not clear to me what the best term would be, but I'd probably
>> aim for something like "media type name suffix" or "subtype suffix"
>> if that's clear from context.
> Ok, can do... we'll probably go with the more precise "media type name
> suffix".
>
>> 2. I think an example would help to show what is being proposed (I
>> think the description is clear enough, but it's always good to have
>> something concrete to cross-check against).
> Yes, agreed, we'll add an example and use a real one as an example --
> application/did+ld+json
>
>> In particular with reference to registration of multiple subtype
>> suffixes used together.
>>
>> E.g. in the case of refinements of application/ld+json (per 
>> https://w3c.github.io/json-ld-syntax/#iana-considerations), one
>> could imagine more specific types defined; e.g.
>>
>> application/invoice+ld+json
>>
>> Per the description, I think this would require the following
>> suffixes have been registered:
>>
>> +json +ld+json
>>
>> But not:
>>
>> +ld
> Yes, that is correct. We may want to put additional language in there
> that states that you can only build valid media type names from a
> structured suffix from right to left (not left to right).
>
>> And if this data may be offered with alternative RDF syntaxes, such
>> as, e.g.:
>>
>> application/invoice+ld+rdf+xml
>>
>> then:
>>
>> +xml +rdf+xml +ld+rdf+xml
> Yes, agreed.
>
>> 3. A nit:  the draft makes reference to and uses RFC2119 language.
>> It is usual in RFC documents I've seen to explicitly call this out in
>> the document.  E.g.
>>
>> https://www.rfc-editor.org/rfc/rfc6838.html#section-1.2
> Ok, will do, thanks Graham!
>
> -- manu
>