[Cbor] Re: Remove rawstring extensions from CDN (draft-ietf-cbor-edn-literals)
Rohan Mahy <rohan.mahy@gmail.com> Sun, 09 August 2026 22:58 UTC
Return-Path: <rohan.mahy@gmail.com>
X-Original-To: cbor@mail2.ietf.org
Delivered-To: cbor@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id A2018126D2B5E for <cbor@mail2.ietf.org>; Sun, 9 Aug 2026 15:58:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786316282; bh=hH46Ie/963A6zy0vc8Z8FvFi7HaQBDBZ8ti8OWiVPYM=; h=From:Date:Subject:To:Cc; b=BWcK94jfCnYa1eYFVFmvJELLloAGe4oCCbsECF9TIUF92l93zEH0SSLM9+ZnqOy2B u+Yr3k/JLtdE+RUZJZ9kzCE6hSTdfyceZ1EiMPdkvQ4vU5tX3f3Z+SIux/do/L8fRV GtNmozybpA/GS/GQ9o1IijcfKWtyTTUb8R8qTj2s=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.098
X-Spam-Level:
X-Spam-Status: No, score=-1.098 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, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l7_nRdmC2N3o for <cbor@mail2.ietf.org>; Sun, 9 Aug 2026 15:58:01 -0700 (PDT)
Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id C9581126D2B59 for <cbor@ietf.org>; Sun, 9 Aug 2026 15:58:01 -0700 (PDT)
Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-471eeac43bfso935361f8f.3 for <cbor@ietf.org>; Sun, 09 Aug 2026 15:58:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1786316275; cv=none; d=google.com; s=arc-20260327; b=jl/4eKhMW5B4qnSwDMlkrkpJsuAnppV4snL+0xpq7/0W3507tLFwNOtZrRi7g05s2e h1hD3L6Z8BtXqagCMQr52qZts3/wwwFCxD/1pEl0KyLV5ZPEr3gF7FKybEjKB50lfXGE FF0TibPmRX7rdveCeLHJCn58yb1IwZb3qVj5lsglkWUT+FyRnpunV2YvXmBjCGMYD6PM xNCS0hRzXl8aJXr7hWXguM6AcZezp0OAUS2FHmzYhXfjBXHiNFZxJQs7w+4ww2wHoGK3 bqqYON/UkULtiQaJkzOEzKGCS43YUQEB70iZ3JD3IFunNkoKWJ/SO8yHETebm11Ytkbw UXAQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:mime-version:dkim-signature; bh=egzDEDwZ/Zgdbd09oA6I1jhZp550oXRjrJspeLmFm/I=; fh=CMo9RuLu4aisafeb6b3ic2CM8jrc46ZPwAJUuQ0Y3ek=; b=Or6/hMyIWc/LjEpmhBqhiEjVe31IZz6MzGKNJRM0oTeqgjjGzGJZ96MQt8ELAmaXl0 faeynyCsRTq773ZlevdgFLnoRfmhN+TAk8a/GelvrlXXWKC1qy9ujHJmH9pJ6KGylGky oSqo3BA/sAqxoUeLb1hZOjhF7b9At03jBRccWXpY5q5C20M3xfUuuk4qdA8lanwEIcaV AgVLYzamKUlH2AJ77xDAkkbnHdTaA1x6uckayUUYyaI7/V5OoBPZp8711aErUJ3+mFa3 CJQkoNebaqK/9hasvEshxPtM2fetn8e5qmZ9OIqYeCCOrMYaMf4Xy6ioFsp6ttz8pZME 5UMQ==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786316275; x=1786921075; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:mime-version:from :to:cc:subject:date:message-id:reply-to:content-type; bh=egzDEDwZ/Zgdbd09oA6I1jhZp550oXRjrJspeLmFm/I=; b=T1pLtuhWCSidjHYuNnZOUeHPty5sOSRTYtU5v2lcYno61ClRbu0M8JN0pRoSEXrOX0 pOKlArCEosFyWvJ5k23z71pFWgTQGg6stbFMQabDnqO57wTCVokFuF8Pl0Z1sNWWV/Q5 OYIfrEF7J7R0ZRljdhrPijWSO463RYEenGz8aNTC/cR6pySF5AZqw384kRrViIjldrZa LrwvJy19c+bP5v8z5BF4UB4ui1uRaw+hy8/2piL5ke0kokC+Rwh1j2/ZUmWX8GwhH4GZ /9+rMNxnyzguI9EuBmr+8oYicoh+ZhBFozpAjLwekIU8NJY8J8y1pFnAHZ+AOG/oduwF QnEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786316275; x=1786921075; h=content-type:cc:to:subject:message-id:date:from:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=egzDEDwZ/Zgdbd09oA6I1jhZp550oXRjrJspeLmFm/I=; b=TlvA+C5OP75qH4YZBw8MM5uLLXGrPdA4k5pj3xL1uqUFw0yxY85nqXbC0anJkFyy61 7xiHMDHZF5MjFMDhXtDpGf0FOC4uALY/LswdBGofEQho8UwmLpkE4oE6CzOIQBizRDun m6beUJ/jQKgESijlOPbv409UeNJpTUV0/B/YLtizfWxmqA3qd3zw5CsJqpFy1ihGtGIT clpAaXkCXdMI2ulM3Hjw5mM624smncW3rkAquyBVufecRb4LuJ5nmovrRIEOM9evL29/ hyQN7V304psyW0LSKo4zCVrCK1DXscP9zH8b+FC3QKcKwwNdEmCKY3JiG4sbnnWsj/dW 0zOw==
X-Gm-Message-State: AOJu0YzssKwZsBw1CcJfofk/A7JqbEeQELAzWlyXgY9CWaNtnhLB1qWz QZJW56/r4DH8kKbYv7o2ER07ZdrDjbqNDuBT1720AJaGYqoZD8zQzfVZO3tFd0fUMgCIybmkaqD VvkqvRRZLR8JkGP2Rmnn4ueMDhQ1nC7y32pDF
X-Gm-Gg: AR+sD12ZEC0jLDpvrH9wej52/IaMVQv8IzmNxLn/5NNRO6Fato4RChn4ZeQsQ2opHOd fMwE1lp4RNET0bgJ4IY5/BNntEhzliJr/1ndbyD2cDDEM+YS8kjaxznTZb4Z5DwIJQhi8unS8vX FFVYvoMe4wEBKCXtGwCJEZwiyhw5HY/uD9dWQp2gw4G0LkplhJrGhK/ubjR71bbkGBWzA3+xu87 Kf1KM1Xi5uZjoNXh4ZgXyroAgEHVFfBvKEWh2cxF08hPEKAXcxxGtIumaxnwAZXP6pQpXKTQVzA GyZWOLDmjpjb+m+PRovMCdkQZAss8DHzrFznP5POmxVjTrlbgUQA+6qaSLjEAJ38PRA3QuLEcHj uJyQ/msWTxSOBzfwNP6E6rd6vXcC87Vg=
X-Received: by 2002:adf:ec8e:0:b0:47f:5ec2:d54 with SMTP id ffacd0b85a97d-47fec5024b6mr48471690f8f.5.1786316274906; Sun, 09 Aug 2026 15:57:54 -0700 (PDT)
MIME-Version: 1.0
From: Rohan Mahy <rohan.mahy@gmail.com>
Date: Mon, 10 Aug 2026 00:57:42 +0200
X-Gm-Features: AUfX_mztCUGpkg7rxstEd_S6Gd7OqeM_EkaQH5mZdGVIl0nv_-HOzKnNk1HzAJQ
Message-ID: <CAKoiRuY_g=COhYq5bZYzpo-Nv1_ABwjfGN1y_nD-RXb6ea=UPQ@mail.gmail.com>
To: Christian Amsüss <christian@amsuess.com>
Content-Type: multipart/alternative; boundary="00000000000005bd200658a52b31"
Message-ID-Hash: 2ZXSU2CNT4DVZIXLRI7Q6YWUPMCYRANZ
X-Message-ID-Hash: 2ZXSU2CNT4DVZIXLRI7Q6YWUPMCYRANZ
X-MailFrom: rohan.mahy@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: CBOR <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Cbor] Re: Remove rawstring extensions from CDN (draft-ietf-cbor-edn-literals)
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/YUue9jSD8XMNWtRogTPf9X-JxsI>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>
Hi, *What needs to be removed?* *Remove*: - Table 3, 4th entry - app-rstring from bstr production in Section 6.1 - definition of app-rstring production in Section 6.1 Section 2.3 3rd ¶ Many strings are best notated as prefixed literals, which may provide detailed access to the bits within those bytes (see Section 3.1 <https://www.ietf.org/archive/id/draft-ietf-cbor-edn-literals-27.html#encoded-byte-strings>). Using an app-extension prefix, prefixed literals can be constructed out of single-quoted strings and raw strings, as well as sequence literals (cf. Section 3 <https://www.ietf.org/archive/id/draft-ietf-cbor-edn-literals-27.html#app-lit> ). Section 2.3.2 last ¶ Single-quoted pPrefixed string literals (whether single-quoted after the prefix or a raw string (Section 2.3.3)) are used for prefixed literals (see Section 3, such as base-encoded byte string literals (see Section 3.1). (Additional kinds of base-encoded string literals can be defined as prefixed literals by registering their prefixes; there is no fundamental difference between the original two predefined base-encoded string literal prefixes (Section 3.1: h, b64) and any such potential future extension literal prefixes; for simplicity of expression, both cases are referred to as "prefixed literals".) Section 3 swap quotes. The string-based forms use their string literal as a shorthand form for a sequence literal representing a sequence with exactly that one text string data item, e.g., b64`'Zm9v`' is a shorthand for b64<<"Zm9v">> or b64<<`Zm9v`>> (this specific example obviously depends on Zm9v being allowed and meaning the same within the different forms of string literals used in the example). Section 3, 3rd paragraph from the last: When the prefix is used immediately in front of a single-quoted or a raw string, the input takes the form of a single text string CBOR data item (this is useful only if the app-extension is designed to receive a text string as input). When used immediately in front of a sequence literal, the input is a CBOR sequence of elements of the sequence literal as input. (For a single parameter, this is equivalent to receiving a single CBOR data item as the argument.) The app-extension can provide behavior that depends on the number of items supplied as input to it and their data types; it cannot distinguish between its prefix being used with a single-quoted string, a raw string, or a CBOR sequence composed of a single text string data item (as illustrated for instance in Tables 3 <https://www.ietf.org/archive/id/draft-ietf-cbor-edn-literals-27.html#tab-equiv-dt>, 4 <https://www.ietf.org/archive/id/draft-ietf-cbor-edn-literals-27.html#tab-equiv-ip>, and 5 <https://www.ietf.org/archive/id/draft-ietf-cbor-edn-literals-27.html#tab-equiv-hash> ). Section 3.1 1st ¶, remove everything from "when using single-quoted, or..." *Why should this be removed?* Currently -27 allows app-prefixed rawstring extensions. We already have app-prefixed extensions using << >> and using ' '. We don't need a third variation of app-extensions. Instead of writing h``012345 /don't forget/ `` you can already write h<<``012345 /don't forget/ ``>> or h'012345' /don't forget/ . *How could we add this later?* This would simply require the new grammar to tolerate wordchars (other than the four reserved words) before backtick-quoted strings. EDN implementations conforming to the base spec (that did not support the feature) would give an error. Thanks, -rohan On Tue, 4 Aug 2026, 18:04 Christian Amsüss, <christian@amsuess.com> wrote: > Hello CBOR group, > > as discussed on list[1] and in the meeting[2], we are entering a phase > of removing features from CDN that prevent it from reaching rough > working group consensus. > > Opening a thread > ---------------- > > For every feature you object to (or, as per [1]#6, you consider > incomplete), please send a mail to the list > > - in reply to this mail, > > - with the subject of the pattern "Remove ... from CDN > (draft-ietf-cbor-edn-literals)" > > - with text on what is to be removed, and from where in the document > (no need for a full editorial clean-up on each and every reference, > but including points where there are feature interactions and how > those are to be resolved) > > - giving the technical reason why this should be removed (or a pointer > to an on-list mail) > > - indicate how the feature can be added later as per [1]#2 (no need for a > full plan, a sketch suffices) > > If you think it helps the clarity of the proposal (esp. on feature > interactions), you can open a pull request at [3] and link it. This does > not replace any of the above, but can help preempt clarifying questions, > and can help show that indeed it is a well-scoped excision. > > Responding to a thread > ---------------------- > > If you support a removal (and we need more than just the original > proponent as per [1]#2), respond to the proposing mail briefly to state > that. > > Refrain from pointing out disagreement on the list (or any corresponding > PR): the arguments have been had. Pointers to feature interactions that > were missed are appreciated, as are clarifying questions if interactions > are missed or would be unclear after the removal. Be reminded to act in > good faith here; more conretely, don't just ask to re-start already > documented arguments. > > > Both for opening and responding to a thread, please take the time to > revisit past arguments, consider them, and enhance your text > accordingly. > > > Best regards > Christian > as a working group chair > > [1]: > https://mailarchive.ietf.org/arch/msg/cbor/tMMMTMgqX0r963HFPikOGQvO0Vo > [2]: https://datatracker.ietf.org/meeting/126/session/cbor > [3]: https://github.com/cbor-wg/edn/pulls > > > -- > Beware paths which narrow future possibilities. Such paths divert you > from infinity into lethal traps. > -- Leto Atreides II > _______________________________________________ > CBOR mailing list -- cbor@ietf.org > To unsubscribe send an email to cbor-leave@ietf.org >
- [Cbor] Re: Remove rawstring extensions from CDN (… Rohan Mahy
- [Cbor] NOT removing bactick-delimited strings (wa… Rohan Mahy
- [Cbor] Re: NOT removing bactick-delimited strings… Vadim Goncharov
- [Cbor] Re: NOT removing bactick-delimited strings… Rohan Mahy
- [Cbor] Re: NOT removing bactick-delimited strings… Vadim Goncharov