Re: [media-types] Thoughts on suffixes, single and multiple
Manu Sporny <msporny@digitalbazaar.com> Sat, 06 April 2024 14:25 UTC
Return-Path: <msporny@digitalbazaar.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 D1D4FC14F61F for <media-types@ietfa.amsl.com>; Sat, 6 Apr 2024 07:25:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=digitalbazaar.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FLNtXhFHMSK0 for <media-types@ietfa.amsl.com>; Sat, 6 Apr 2024 07:25:17 -0700 (PDT)
Received: from mail-vk1-xa2f.google.com (mail-vk1-xa2f.google.com [IPv6:2607:f8b0:4864:20::a2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA33BC14F5F2 for <media-types@ietf.org>; Sat, 6 Apr 2024 07:25:17 -0700 (PDT)
Received: by mail-vk1-xa2f.google.com with SMTP id 71dfb90a1353d-4daa91c0344so1028403e0c.3 for <media-types@ietf.org>; Sat, 06 Apr 2024 07:25:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digitalbazaar.com; s=google; t=1712413517; x=1713018317; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=5am7Yz+bkFfDrjOlYI+dd+SVALJo1MUV1+v62B/oCmg=; b=k+zPEo0iufuMZ+dILzA8HlwFuWuBgnYfT9Z/bmVmwSjhisDhAcI9mN6fhY+2Xm+481 8L/T8lsqRHia6fCjT4u00OdLH350YXLL6NtF1UMQtCS9+865Hyj/TaDWF1pk7J81obvr cQEHKJ9/p7lSDnpRgLLZPfCxKLm4q1Jh2qaBFmUR3ulPeZMYrESXOyL9F/NgjZ4zmRze QPhPKJS74oE2yM72TDvviFV7RTJe5NzFfHd10FpVuAguf4RZbyv14qMKCSf9OS07mehP 9SlCKfR/95x10Zqrx1X2SqWZV65QMOziu3P6+LUnUk9XOxw11+PSBzru/cV+xlvurX22 B/9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712413517; x=1713018317; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5am7Yz+bkFfDrjOlYI+dd+SVALJo1MUV1+v62B/oCmg=; b=E/5oJOWdjZh0RfrxQwErBMEM9uy1kRz9+6adEAoeWATD4i6jSU8k3p2A66Rf9CcFJ3 2OElM1sp17+w9xcJ6yu7fboLTuy7oltOLf6LnN4FMNo17+XoLeV4a3IxZODfGd9pAg8m jF+HUjWbUTAt1hhyNZbUcEA8k9YT3Xw5slJyjZmAkhHcezRlXri1zKSXSvS6RWGzvTk0 2oCAZwzhR2CBClQWyIeMfee7GqJfjE2u6XEn8R922RA+79uJlf8klQS/UEC3M5FRo6z9 6ez3lW5le3SEwxp4a0NyyrzKsrw+hFahegr4J2GOgUR1uj7tueKjkxC4ydhKnrN3ls9t R57g==
X-Gm-Message-State: AOJu0YwBnkuXgr5NDzU2lPFCSgcXGeTsvOkLibWfCuX71VMOq64AtYBu T9Uv7Ch+9/xDoaOhirxA3N80Gzekhujb1i7MReZV7qNqTDA428NM53VjuwfiOiA8FFYcJ6tJU97 fyOMard8zSCn3pZiwZ7Xdn7mk7pw4sKjx9+9XuDNuZ3R+AZuR
X-Google-Smtp-Source: AGHT+IH+/YusZtYJwPDf/cEVKwOxjA7Kr0om2HRrcjlgjfGn03JpU8ymFp6N62ab3JEztZ0Ay9T5soTqg3hG/8l57rc=
X-Received: by 2002:a05:6102:c8b:b0:479:f28b:d127 with SMTP id f11-20020a0561020c8b00b00479f28bd127mr451130vst.26.1712413516612; Sat, 06 Apr 2024 07:25:16 -0700 (PDT)
MIME-Version: 1.0
References: <2E20FEDE-C766-43EE-A6E2-1FB63E79CF0B@mnot.net> <1c404c4d-437c-464a-b414-4e0d39c1d8ea@alvestrand.no> <E83E80FF-5810-4A53-85D8-E5095F9C1C1C@openlinksw.com> <837B503B-B9F9-40F7-8078-7D1BCD66D076@mnot.net> <CAMBN2CTMk8GDeUT0ObHcW=xxaRMzd75PrtWwLa_YB-4JoF_FxA@mail.gmail.com> <F58ABF0E-56F3-462B-AA00-192A75AFEE41@mnot.net>
In-Reply-To: <F58ABF0E-56F3-462B-AA00-192A75AFEE41@mnot.net>
From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 06 Apr 2024 10:24:39 -0400
Message-ID: <CAMBN2CSbxjX8GCi2E1gTwnaWNLvbNc7SWd=mStWDnj0eeZpgpQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: IETF Media Types <media-types@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/KXOSczGAFqQUto41Zc2bJoMMVe0>
Subject: Re: [media-types] Thoughts on suffixes, single and multiple
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 06 Apr 2024 14:25:21 -0000
On Fri, Apr 5, 2024 at 10:02 PM Mark Nottingham <mnot@mnot.net> wrote: > Establishing that framework is going to take some legwork, careful consideration, and even more careful writing. It may mean, for example, that specific suffixes might have additional rules about how they're combined with other suffixes. We'll need guidelines for defining new suffixes and what they should document. And so on. Yes, and the timeline for getting that right is undetermined. It's boring plumbing work that needs to be done (or, at least, we should make a concerted effort). What we might end up doing is writing a bunch of text, as we have done for multiple suffixes, and then after we feel we've documented the meaningful variations (there seem to be about three-ish of them?), decide that the whole thing has too much nuance, and is too complicated to get right and/or police the registration of, and just throw it all out, preferring simpler rules. A failure here would at least establish that we did the work to explore the space. Unless I'm mistaken, this hasn't been done before for suffixes (fully documenting the classes of variations and the "goodness" or "badness" of each variation, which is what I gather you were asking for during the last IETF meeting, Mark)... so, we might as well give it a shot and see where it goes (understanding that it'll be a rocky journey that might result in failure). > My concern at this point is that doing all of that is going to be a significant amount of work, and as we've seen many uses of suffixes only provide marginal value. There is a trapdoor that we might be able to use... What if we propose this for multiple suffixes: If you choose to use/define a multiple suffix for a media type, your registering specification MUST have a section in it that clearly states how to interpret the multiple suffixes. That way, we push the interpretation to each specification. The downside is that some specs might do something super weird, so we can give them some established design patterns to go off of (as I mentioned, there seem to be three-ish of them). If we don't use the trapdoor, yes, it'll be a lot of work. > Who's going to do the work? I'm happy to continue to volunteer to write stuff into the multiple suffixes spec as a collection point for updated suffixes guidance. The more important thing, however, is engagement from the media types community to make sure we're doing something that is going to work for all the suffixes use cases. > The whole point of standard protocols is to have agreement on syntax and semantics, and there seems to be precious little of it here, as you point out. I agree that there isn't consensus on ONE path forward, or ONE set of rules. I'm hopeful that there might be consensus on a set of design patterns for suffixes that don't undo several decades of suffix registrations. It'll require some to hold their nose, but NOT doing something at this point (there's clearly a problem here) feels like an abdication of this group's responsibility to the Internet community. Is it worth, as a next step, documenting the current design patterns without determining whether they are "good" or "bad" yet? We could start with: * Syntax suffix pattern (+json, +xml) * Container suffix pattern (+zip, +jwt) * Multiple suffix pattern (vc+ld+json, did+ld+json) I can take an action to do that if folks are supportive. -- manu -- Manu Sporny - https://www.linkedin.com/in/manusporny/ Founder/CEO - Digital Bazaar, Inc. https://www.digitalbazaar.com/
- [media-types] Thoughts on suffixes, single and mu… Mark Nottingham
- Re: [media-types] Thoughts on suffixes, single an… Michael Jones
- [media-types] Fwd: Thoughts on suffixes, single a… Brian Campbell
- Re: [media-types] Thoughts on suffixes, single an… Michael Jones
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Thoughts on suffixes, single an… Russ Housley
- Re: [media-types] Thoughts on suffixes, single an… Michael Jones
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Thoughts on suffixes, single an… Michael Jones
- Re: [media-types] Thoughts on suffixes, single an… Harald Alvestrand
- Re: [media-types] Thoughts on suffixes, single an… Ted Thibodeau Jr
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Fwd: Thoughts on suffixes, sing… Michael Richardson
- Re: [media-types] Fwd: Thoughts on suffixes, sing… Michael Jones
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Thoughts on suffixes, single an… Michael Richardson
- Re: [media-types] Thoughts on suffixes, single an… Manu Sporny
- Re: [media-types] Thoughts on suffixes, single an… Esko Dijk
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Fwd: Thoughts on suffixes, sing… Michael Richardson
- Re: [media-types] Thoughts on suffixes, single an… Manu Sporny
- Re: [media-types] Thoughts on suffixes, single an… Manu Sporny
- Re: [media-types] Thoughts on suffixes, single an… Paul Libbrecht
- Re: [media-types] Fwd: Thoughts on suffixes, sing… S Moonesamy
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham
- Re: [media-types] Thoughts on suffixes, single an… Esko Dijk
- Re: [media-types] Thoughts on suffixes, single an… Esko Dijk
- Re: [media-types] Thoughts on suffixes, single an… Manu Sporny
- Re: [media-types] Thoughts on suffixes, single an… Orie Steele
- Re: [media-types] Thoughts on suffixes, single an… Esko Dijk
- Re: [media-types] Thoughts on suffixes, single an… Manu Sporny
- Re: [media-types] Thoughts on suffixes, single an… Manu Sporny
- Re: [media-types] Thoughts on suffixes, single an… Mark Nottingham