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

Graham Klyne <Graham.Klyne@oerc.ox.ac.uk> Thu, 24 December 2020 13:41 UTC

Return-Path: <Graham.Klyne@oerc.ox.ac.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 2C6633A1251 for <media-types@ietfa.amsl.com>; Thu, 24 Dec 2020 05:41:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 vYsg_eUt_lpR for <media-types@ietfa.amsl.com>; Thu, 24 Dec 2020 05:41:13 -0800 (PST)
Received: from relay17.mail.ox.ac.uk (relay17.mail.ox.ac.uk [129.67.1.165]) (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 569683A1250 for <media-types@ietf.org>; Thu, 24 Dec 2020 05:41:13 -0800 (PST)
Received: from smtp8.mail.ox.ac.uk ([163.1.2.204]) by relay17.mail.ox.ac.uk with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <Graham.Klyne@oerc.ox.ac.uk>) id 1ksQrf-0009ex-5U; Thu, 24 Dec 2020 13:41:11 +0000
Received: from gklyne38.plus.com ([81.174.129.24]:51455 helo=spare-94.atuin.ninebynine.org) by smtp8.mail.ox.ac.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from <Graham.Klyne@oerc.ox.ac.uk>) id 1ksQrf-0003WA-Qa; Thu, 24 Dec 2020 13:41:11 +0000
From: Graham Klyne <Graham.Klyne@oerc.ox.ac.uk>
To: rhiaro <amy@rhiaro.co.uk>, media-types@ietf.org
References: <e2ee2ce0-641f-de3e-b1b6-d375b24328ad@rhiaro.co.uk> <029ad5c8-b441-3a1e-997d-af1187bc8149@rhiaro.co.uk>
Organization: OeRC, Oxford University
Message-ID: <2271d528-9ec5-5173-cad7-ced15d44dd51@oerc.ox.ac.uk>
Date: Thu, 24 Dec 2020 13:41:08 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.5.1
MIME-Version: 1.0
In-Reply-To: <029ad5c8-b441-3a1e-997d-af1187bc8149@rhiaro.co.uk>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
X-Oxford-Username: zool0635
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/oDnZ5Zu0QvqxQ3vvY2ZovDPu4L8>
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: Thu, 24 Dec 2020 14:42:44 -0000

[Re-sending:  I originally sent this response some time ago, but I'm not seeing 
it on the mailing list - I did respond to the prompt to confirm submission from 
a non-subscribed email address.]



Hi!

I think this is a useful contribution, thanks!

I have three comments:


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.


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

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


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


#g


On 30/11/2020 14:49, rhiaro wrote:
> Hi all,
> 
> As requested, we have a draft which is an update to RFC 6838, so that we
> can discuss something concrete around multiple subtype suffixes:
> 
> https://datatracker.ietf.org/doc/draft-w3cdidwg-media-types-with-multiple-suffixes/
> 
> Does anybody have a few moments to review this, so we can work on moving
> this forward?
> 
> Many thanks,
> 
> Amy
> 
> On 24.10.2020. 16:35, rhiaro wrote:
>> Hi all,
>>
>>> Is someone from the W3C willing to put such a draft together?
>> I'm a member of the W3C DID WG and have at long last drafted the update
>> to RFC6838 that has been discussed in this thread:
>>
>> https://datatracker.ietf.org/doc/draft-w3cdidwg-media-types-with-multiple-suffixes/
>>
>> I hope I have captured the intent of the comments so far in this thread
>> and used the correct language. Any and all feedback on refining this is
>> gratefully received.
>>
>> Amy
>>
>>
>> _______________________________________________
>> media-types mailing list
>> media-types@ietf.org
>> https://www.ietf.org/mailman/listinfo/media-types
>>
> 
> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types
> 

-- 
Graham Klyne
mailto:graham.klyne@oerc.ox.ac.uk
Skype/Twitter: @gklyne