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

"Martin J. Dürst" <duerst@it.aoyama.ac.jp> Thu, 24 December 2020 08:26 UTC

Return-Path: <duerst@it.aoyama.ac.jp>
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 83FE93A10E2 for <media-types@ietfa.amsl.com>; Thu, 24 Dec 2020 00:26:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-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=itaoyama.onmicrosoft.com
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 XSPBzU7i0_n4 for <media-types@ietfa.amsl.com>; Thu, 24 Dec 2020 00:26:40 -0800 (PST)
Received: from JPN01-OS2-obe.outbound.protection.outlook.com (mail-eopbgr1410094.outbound.protection.outlook.com [40.107.141.94]) (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 5A8933A10E0 for <media-types@ietf.org>; Thu, 24 Dec 2020 00:26:39 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kwIDTfDNOp1QpYpUtv6XShVYQkfQgCpNIO28ECPCKLNrEhzr2n5JPk0KXBjV2MCZ5nMvqKjcDIJo1/xamKwygN9q340Hd3Jy2qaopJanUfB+OqVFLG9RAMN7ceMfWV46UhoHbbiUufJSeZnXVL3MvnC9LDOWb4rRE1OS2eosuD34Z117pwwsRM2Cu28KU3rSyBT6va+BBBJZiHDcf13kAIENlbqRUaoYO662MrMoQsxyIWglWrnYiLHn4geXHGV28Yk5x/vixWSd8cjJAoZtZJJAQR4+jpHeSXeD70ATpSthIlu0fdTwEOCMDsRLt5xac9oYJAmX3tWPzXU1BR7ewA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NavnaAmDbhqMYlR68p25VBJWvqyVTiywGWn+ho+FZaU=; b=IDrhPbTvqRAdooXVLGC9g6HOQtZz0lsuU35GRK60lUr7TpVY50aLqT/7ZPk0VziWOh7TrfGo9xhkxCA03Btt4zKC2oz6tAFfiVQE9Vlaw2rb/i4V4P5czz5a1MH8BeU+aulNFgsqWdC10bzzSNK9o2Y8xUhgzJHFsQfNSjsIHx1qp6mkEjyz4+lx41Vgd1mmWiNzlgqZExiGo28MlG2+yASvdjT5tkt7H+HUXDkpRKhaTHiZPel9ZwkRKxF32KXB8jSENVB9gTZeLTu895rRw4zajbKy3LOm9ZpU4BkFkbSYVMy40I8JX6TBvroKLBoMhDxU8XoizNJD+t6R7eHRpQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=it.aoyama.ac.jp; dmarc=pass action=none header.from=it.aoyama.ac.jp; dkim=pass header.d=it.aoyama.ac.jp; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=itaoyama.onmicrosoft.com; s=selector2-itaoyama-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NavnaAmDbhqMYlR68p25VBJWvqyVTiywGWn+ho+FZaU=; b=SrYtplSQ9wEBEbW2jiklHaszf31lEykxJKW4Hf5+3ZX2n4hT4s7d8pEccKuXCuE5wDLD1OVC5R1VRHc0t6xnYNjhg4YpcXq6DM58fSy0gcbx9y2pKlVzSYgXFTt6dv6F2bpDhNl5jwOA2OXesgSdd3H1S+34O0KdKkf2I6Z17PM=
Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=it.aoyama.ac.jp;
Received: from OSBPR01MB2566.jpnprd01.prod.outlook.com (2603:1096:604:1c::13) by OSBPR01MB1733.jpnprd01.prod.outlook.com (2603:1096:603:6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3676.33; Thu, 24 Dec 2020 08:26:33 +0000
Received: from OSBPR01MB2566.jpnprd01.prod.outlook.com ([fe80::cd30:9f1d:e76d:e8a8]) by OSBPR01MB2566.jpnprd01.prod.outlook.com ([fe80::cd30:9f1d:e76d:e8a8%6]) with mapi id 15.20.3676.034; Thu, 24 Dec 2020 08:26:33 +0000
To: "Murray S. Kucherawy" <superuser@gmail.com>, rhiaro <amy@rhiaro.co.uk>
Cc: media-types@ietf.org
References: <e2ee2ce0-641f-de3e-b1b6-d375b24328ad@rhiaro.co.uk> <029ad5c8-b441-3a1e-997d-af1187bc8149@rhiaro.co.uk> <CAL0qLwYAnCSi6XQ2u8d-Xpt0SezpAiVbhGyDorrDm3vN-Sk9FA@mail.gmail.com>
From: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Organization: Aoyama Gakuin University
Message-ID: <44a5b068-6843-b176-66ff-7926d598bb36@it.aoyama.ac.jp>
Date: Thu, 24 Dec 2020 17:26:31 +0900
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
In-Reply-To: <CAL0qLwYAnCSi6XQ2u8d-Xpt0SezpAiVbhGyDorrDm3vN-Sk9FA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Originating-IP: [121.118.76.82]
X-ClientProxiedBy: TY1PR01CA0167.jpnprd01.prod.outlook.com (2603:1096:402::19) To OSBPR01MB2566.jpnprd01.prod.outlook.com (2603:1096:604:1c::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from [192.168.1.6] (121.118.76.82) by TY1PR01CA0167.jpnprd01.prod.outlook.com (2603:1096:402::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3700.27 via Frontend Transport; Thu, 24 Dec 2020 08:26:31 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 3f8d1203-b394-49bb-1fc7-08d8a7e59f05
X-MS-TrafficTypeDiagnostic: OSBPR01MB1733:
X-Microsoft-Antispam-PRVS: <OSBPR01MB17331AC735D4E31C9DD5CB3ACADD0@OSBPR01MB1733.jpnprd01.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: fn6Bxw59UEJaubftwyGDvXxyaoQsTJxbW1t2iQuKmIDnIp82gftNNSOYj4N1sF7wrKAYPPzhUD8sM7Rm6rqqTu9QaQkBdfwimwyI5euzOOfVWGcykBmmYvuZ4YRE00U5sgvADOOy+CD5bgyDkIYDxSgoDfPUBRfr4FQYxyKmHobfaqcizXy9SgEkXECpElXAF3iis9ZpFNsycQXcTzJptanTshZo71EhVSG/KvPgWirrBxViyF0fW/iYbCPn5sDiBS9CdcYVT5Lu+kt5RE2p7ErqhDOifbUKFuN2OzF+Y6CXRJme5LToE54dboHFP1Qwwvd2hM5QhlfcRI38QOvPMAWHTqsz4KHgf2bjO9ZMulvciCDbEblTN9yERxLl1qFm2eK7yV82sEMhx0Nm63Skjdky1giAuRmOzfaCX2Fi8qIy/Lqx4R2DVD1KT6gzbKfLzvDSzpH4t9lm05zmVSWYg/P+JLh8UlPkIsKZmC540Y1Pj/brohg4urxWw5Gt5ncamEYNFoatF9KQLH9j8mJnf/GqLsdZhfkvQuaIShMB5EW9XCfl3aDCNYPfS/EfuwP9
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:OSBPR01MB2566.jpnprd01.prod.outlook.com; PTR:; CAT:NONE; SFS:(39850400004)(136003)(396003)(376002)(346002)(366004)(786003)(5660300002)(53546011)(316002)(52116002)(86362001)(8676002)(16576012)(110136005)(31686004)(956004)(66476007)(4326008)(2906002)(2616005)(66946007)(36916002)(66556008)(83380400001)(186003)(478600001)(26005)(6486002)(16526019)(966005)(8936002)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: 6KmZgchkGNKBQC/q2subgRmpAIlgkC40GMogAcZt2M4E523iL/P6CSDWBUwrZYUJ749/CqHy1eCC3iICvkIpyMsYs79/OSP0hqY3tkautxqkEk0qk3pNqbocCofbB+IFjfTuSD/PvvFYTEOOzfZtfk9Kig7xCQbDOZgKsWSTnMvMZQFtMNmKMwV3T6UCkweq8RmBiQCob+Gje7EfAdVYHaWqv0LKKPVgQxkC6JM8Y6fGb/RP0uH/292yYubm8lPIspZL+BSAmwfBKLs2lEgmCuv6Zf1scDO5V4x2XVv+rsN4Md3haLR+5cqz1X+pTB/IMveu7vMdgRBfOdzF7S38oTi4iKtICICggpLOmtE8cb65wIR8G8VK6NYgATpY5ccezjZmeP3RogxdOrwrSY81oYsW7g/MbD+qTkGCZE5e+NpafqXioACztXwrAvH8KIHWnSVKbtX1bP/9R05jLiC5RdlTCxfqx/tyn+ct6UPQlYhVBNLoCb6DC5S8r6JDxbbUrwccwf+47Jsx5+0zcAlQ1xx7gIM3x78RSkBmwP4SMTCzHGBV4bVM+ikpkqB6UiUXTmnoBfvXL86iVyA+yA/6b/cUfUlyP4IQgMF6mnj2VvxROTQjWfWxRMkXLoP4YXVfw7JA2pV0/J1qQFmDD5VSxIN8YtjhFiNLrFSdkWLnimOB2pKso1KsWJXYPkOVPwG8G0hbJvUvezwXWNF0C5yjBNz/iNGnH5EXROSH52vgUuU9zZoiGWLiN0puTqUi5Sff3u6vEVm9oH9UvZ1cs6F/t/saEw7+EbAKe4A6wZxRE6JfhSBubmdwHqml64Pez0D6LSWHUZtQmL67JOd6RfFPtiOoNYegYRY54u7yNTXvvh0bSbpFv2XrMf5bGJ/YeJNO0d7Sxq5OOWv86v2vEMCztzeLYF12q/6rKHBGlJYTmWTW0y57gIA6PM6WOAfOsHU84zN0o/IqmdczaQEMr/Vnhmuo7ZTWubS9C0U5P1DoqKYHzeLJHGQ7CIU4VqiYnMV8
X-OriginatorOrg: it.aoyama.ac.jp
X-MS-Exchange-CrossTenant-AuthSource: OSBPR01MB2566.jpnprd01.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2020 08:26:32.9717 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: e02030e7-4d45-463e-a968-0290e738c18e
X-MS-Exchange-CrossTenant-Network-Message-Id: 3f8d1203-b394-49bb-1fc7-08d8a7e59f05
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: mTzBo2kFMlaTO28Vhslpbw4no+jOl6NdLJsO+VcDiPD8rwcCm6GLqD0csToBXHn/nuSacUG3eJNNQWShy8U6PQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSBPR01MB1733
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/drz2ENdsXUgIfj-G_LfxailQBDE>
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 08:26:43 -0000

On 24/12/2020 07:35, Murray S. Kucherawy wrote:
> Hi Amy, sorry for the delay.  Thanks for taking this on.
> 
> A question and a suggestion:
> 
> (1) In terms of handling, you might also propose this to art@ietf.org (the
> general ART area mailing list) and to dispatch@ietf.org (the DISPATCH
> working group); the latter would be the place to get a discussion going
> about an appropriate venue for handling the document.
> 
> (2) I'm unclear on the nomenclature, in particular that the most specific
> suffix is the first in the list of suffixes (when read left to right) and
> the most generic is last.  My thought is that the list needs to be ordered,
> and we just need to specify what that ordering is.  For instance, I'm
> dreaming up a (possibly absurd) example of "foo+zip+gzip".  Would I un-gzip
> it first, or unzip it first, with the goal of getting a "foo" out of it?
> Why would I consider one of them more specific or generic than the other?

If I understand correctly, you would un-gzip it first, and only then 
unzip it. In a slightly more realistic example, let's use svg+xml+gzip. 
Gzip is more generic (because it can be applied to any kind of data) 
than xml, and you definitely first have to un-gzip before feeding the 
document into an XML parser.

But you may be right that there are cases where the terminology 
'generic'/'specific' may not be adequate. foo+gzip+zip (foo gzipped and 
then zipped) may make as much (or as little!) sense as foo+zip+gzip,


> If (based on the end of Section 1.1) what you're suggesting is actually to
> in effect consider "+zip+gzip" a single unified suffix of its own, then I
> think what we're really saying here is that there's only ever one suffix,
> but that suffix can contain a "+".  That is, when parsing the media
> subtype, the suffix is everything at and after the first "+" irrespective
> of how many "+" characters there are.  If that's the case, it might be
> simpler to just say it that way so that the reader doesn't need to think
> about a gradation of most-to-least specific.

The problem with this approach may be that currently existing 
implementations, as well as some future implementations, may just look 
at the rightmost + and the following alphabetic characters. Therefore, 
you need to make sure that people constructing/proposing suffix 
combinations will choose the right order, and that means that you have 
to have some language about suffix ordering anyway.

Regards,   Martin.


> -MSK
> 
> On Mon, Nov 30, 2020 at 6:49 AM rhiaro <amy@rhiaro.co.uk> 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