Re: [media-types] WG: More questions for multiple suffixes (Re: WG: IETF 112 agenda)

Ned Freed <ned.freed@mrochek.com> Tue, 09 November 2021 00:18 UTC

Return-Path: <ned.freed@mrochek.com>
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 30F5B3A0846 for <media-types@ietfa.amsl.com>; Mon, 8 Nov 2021 16:18:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, 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=mrochek.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 ucipP8aqpv4w for <media-types@ietfa.amsl.com>; Mon, 8 Nov 2021 16:18:43 -0800 (PST)
Received: from mauve.mrochek.com (mauve.mrochek.com [98.153.82.211]) (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 2B6B43A003F for <media-types@ietf.org>; Mon, 8 Nov 2021 16:18:43 -0800 (PST)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S5XSZZT5Y800I65Q@mauve.mrochek.com> for media-types@ietf.org; Mon, 8 Nov 2021 16:13:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1636416819; bh=LdoCmIcgEuNZeUEhdZb+tlhqKIZcYKYUa4Pd9QbAM0Y=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=UdNwoceIDZ2zPXsMYA8pNCCCGj8Nz9SxYyZ1zD2NVb6CrNdoKuCOqZO5ijzwwyz5y 2CbytzlIZtZVtaNUb3M08YtsIn6/wGjO0pxLdEeOrdrh3vN87GUCHws1WfPRn7h48T ERZ2ceu9GzJ/PpdmvBNctfb9Shp7d0nuq1H+LfoY=
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S5NZ1TIF68005PTU@mauve.mrochek.com>; Mon, 8 Nov 2021 16:13:36 -0800 (PST)
Cc: media-types@ietf.org
Message-id: <01S5XSZXV7HA005PTU@mauve.mrochek.com>
Date: Mon, 08 Nov 2021 15:50:44 -0800 (PST)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sun, 07 Nov 2021 22:54:09 +0100" <1fdafb9c-32ef-c563-86a2-d2a00c2b63a3@alvestrand.no>
References: <c4ae17e0-aa20-33fa-7931-23ea78a9a3b4@alvestrand.no> <b3be73ee-92c0-da23-e398-65d5d6d88293@alvestrand.no> <4ebc9cf0-12c4-0d98-67b3-6891c46c5b5e@digitalbazaar.com> <1fdafb9c-32ef-c563-86a2-d2a00c2b63a3@alvestrand.no>
To: Harald Alvestrand <harald@alvestrand.no>
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/AWACHR_ntEqXiIQtjKww9qtC1U0>
Subject: Re: [media-types] WG: More questions for multiple suffixes (Re: WG: IETF 112 agenda)
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: Tue, 09 Nov 2021 00:18:48 -0000

> I can imagine some more questions that can be raised about multiple
> suffixes:

> - Is the namespace of suffixes itself a namespace (ie is there an unique
> definition of "+json" as a suffix)?

> RFC 6838 sction 6 says "yes".

And so does the current draft, albeit in a different way: It draws an
equivalence between all of the possible sufixes and a correspnding media type.
So a trailing +json is necessarily associated with application/json,
+ld+json with both application/ld+json and application/json, and so on.

I wish we're considered using this approach when we first specified suffixes.
It might have made things clearer.

> - Is the order of suffixes significant or meaningless (ie is vc+ld+json
> the same as vc+json+ld)?

> Draft seems to say that the anwer is "significant", +ld+json must be
> registered, and this attaches no meaning to +json+ld.

It's an unavoidable consequence of the way the mechanism is defined, but it
should be stated explicitly.

> - was suffixes a bad idea that we should abandon, attaching no special
> meaning to the + character?

> The number of registrations in
> https://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xhtml
> seems to indicate that even if it was true, it's too late to take this path.

And the fact that we (intentionally) haven't registered any media types with
multiple +'s in the name means it's possible to redefine the meaning of
multiple +'s as long as it doesn't break existing single +suffix usage. (And
I see no reason why it should.)

Of course it's possible there are unregistered media types with multiple +s
in the name in use. But if there are, it only really matters if the suffix
components are things that should be registered *and* the usage differs
from what we specify. I think that's unlikely.

				Ned