Re: [Cbor] Diagnostic notation file extension
Anders Rundgren <anders.rundgren.net@gmail.com> Thu, 20 April 2023 03:28 UTC
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 091BAC1522AA for <cbor@ietfa.amsl.com>; Wed, 19 Apr 2023 20:28:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, 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=gmail.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 fb9pc0RrgMhC for <cbor@ietfa.amsl.com>; Wed, 19 Apr 2023 20:28:13 -0700 (PDT)
Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 4BBC3C151B32 for <cbor@ietf.org>; Wed, 19 Apr 2023 20:28:13 -0700 (PDT)
Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-3f09b9ac51dso9409365e9.0 for <cbor@ietf.org>; Wed, 19 Apr 2023 20:28:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681961291; x=1684553291; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ITx3iWRF9PQPuHPDYVWAAkNdsxkw/cSRq6KXubIppZM=; b=VyEKBAHPHonpCp2VZCCnU4RXIFerFWnSupoOuBb3wtSJxwlaFN/jAmdbUYnXQDR0OY L3ZT8/SU4hSkkVRkWWRz22KckE5rH7SM+5UFug8CAPSw24CJ+joFxogaDYUeNZSn8nDn P9LCguagKF/QTK4mZyj5WXifFtewgUGoyRnsJyJA2TZluReGbuWnKOAVLrWKJFT9G+58 q0dtqyEdzJnHXkkPRkUGS+3Ak+hRB5UjME6w/uvFiukOgiYsC/R9mc4e9oqNk+BKjop3 xEcIAVW0l2oDj5elRDfWWi+SyYogrHM9xbOVDHBFeDn6goAhUztJb+OyqeTxkNuHyqov Q6yA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681961291; x=1684553291; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ITx3iWRF9PQPuHPDYVWAAkNdsxkw/cSRq6KXubIppZM=; b=VFIDNpUsJei3EXMw2OlEPas26yO11v6aEkdwjQJIUjSLkIpZBAGshv1BU7THmzNsyS 0TY2vBra0cWTQK4QG7OCD879S0Igx2QVLvW6XMVGISYXyb7BOJhRAr/XVlT+wZGsQDNw yNtdtugocxhUR/4P5ild0wPA5/ltyZ0laLso3mNtwuPO3LDkGwGKUocwmQ+LkZluvGvg zv9NT+IEYpGnLmRIUHQrcC2rKLUvfxw55U0e6UqeSa+MaS4KBHFLPEwUBvCxOB9+GYrH D/fjFGDhlRqb1MsfBBge31GQf2SwqOr2KoWbAMqdFh5l943OKix4ND63AvzInNAq/Bqr 9Yog==
X-Gm-Message-State: AAQBX9eP9Z3uyUYIPJMP0pf2k03Xt21lyytzyy55z1hE2oaCbkjVyM9k GENcqYbWUHN0M3GhvraAA8Y=
X-Google-Smtp-Source: AKy350aSSDpYKA1Yl/+PkycSjfAya/1gpyE3yMWZuOd/IkBYunOD9WqbN7MO8uJ7YA17BLR8itkrXA==
X-Received: by 2002:adf:f80d:0:b0:2ff:801b:dec6 with SMTP id s13-20020adff80d000000b002ff801bdec6mr2264901wrp.20.1681961291444; Wed, 19 Apr 2023 20:28:11 -0700 (PDT)
Received: from ?IPV6:2a01:e34:ec4e:5670:2143:ff7b:5d6f:d97c? ([2a01:e34:ec4e:5670:2143:ff7b:5d6f:d97c]) by smtp.googlemail.com with ESMTPSA id w13-20020adff9cd000000b002cea9d931e6sm685460wrr.78.2023.04.19.20.28.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Apr 2023 20:28:10 -0700 (PDT)
Message-ID: <ca34a921-7009-629c-0145-fca4d3436cc2@gmail.com>
Date: Thu, 20 Apr 2023 05:28:09 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0
Content-Language: en-US
To: Carsten Bormann <cabo@tzi.org>, cbor@ietf.org
References: <dcf56d68-b56f-a74f-6065-f6a0e084c112@gmail.com> <3E51B8F4-540D-45F4-B034-E095F8372688@tzi.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
In-Reply-To: <3E51B8F4-540D-45F4-B034-E095F8372688@tzi.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gNLqDtom5qvKpbKZiuyoh3KS9js>
Subject: Re: [Cbor] Diagnostic notation file extension
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 20 Apr 2023 03:28:17 -0000
On 2023-04-19 10:30, Carsten Bormann wrote: > Right, we should be defining the file extension in an "additional information" section of > > https://www.ietf.org/archive/id/draft-bormann-cbor-edn-literals-02.html#name-media-type > > Not sure whether I like “.cbor-dn” much. > This is essentially a bikeshedding decision; I’d like to hear from more people how they have named their DN/EDN files. Maybe '.dcbor' could suffice? > Do we need end-of-the-line comments? Since all other "config/test" solutions but XML offer this, it seems pretty unavoidable. > I apologize for the indecision that led to the parenthesis in Appendix G.6 of RFC 8610. > The cbor-diag tools do not currently support ‘//‘ or ‘#’ end-of-line comments. While waiting for a decision, I just implemented the two primary candidates: https://cyberphone.github.io/javaapi/org/webpki/cbor/package-summary.html#diagnostic-notation Although not a big deal, I would put my vote on '#'. Try it online: https://test.webpki.org/csf-lab/convert Regards, Anders
- Re: [Cbor] Diagnostic notation file extension Carsten Bormann
- [Cbor] Diagnostic notation file extension Anders Rundgren
- Re: [Cbor] Diagnostic notation file extension Anders Rundgren
- Re: [Cbor] Diagnostic notation file extension Carsten Bormann
- Re: [Cbor] Diagnostic notation file extension Carsten Bormann
- Re: [Cbor] Diagnostic notation file extension Anders Rundgren
- Re: [Cbor] Diagnostic notation file extension Carsten Bormann
- Re: [Cbor] Diagnostic notation file extension Carsten Bormann
- Re: [Cbor] Diagnostic notation file extension Michael Richardson