Re: [Cbor] New CDDL control operator proposal: .iana

Carsten Bormann <cabo@tzi.org> Fri, 25 June 2021 16:23 UTC

Return-Path: <cabo@tzi.org>
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 5248A3A08CE for <cbor@ietfa.amsl.com>; Fri, 25 Jun 2021 09:23:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 MlhVNSGJPc6f for <cbor@ietfa.amsl.com>; Fri, 25 Jun 2021 09:23:15 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5F3723A08DE for <cbor@ietf.org>; Fri, 25 Jun 2021 09:23:15 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GBMk348Zbz2xHY; Fri, 25 Jun 2021 18:23:07 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <27732.1624636804@localhost>
Date: Fri, 25 Jun 2021 18:23:07 +0200
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 646330986.886554-4a58d617990aab09c2084dcd1eeb4bd2
Content-Transfer-Encoding: quoted-printable
Message-Id: <8028777A-EC1C-463A-BFDD-2B481F6FD673@tzi.org>
References: <162461931475.18754.14012039070104235662@ietfa.amsl.com> <01B1C5C9-4E65-4911-A59F-05AB48CB497E@tzi.org> <27732.1624636804@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/itGosowPH60fq1JM3C8shRR59xw>
Subject: Re: [Cbor] New CDDL control operator proposal: .iana
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 25 Jun 2021 16:23:20 -0000

> 
> My first thought was that IANA registries are hard to reference, and you get
> this, and suggest XPath.

XPath doesn’t really help with extracting the data, only with finding it.
I’m sure Julian Reschke would be able to write some xslt for this :-)

> How to reference things which are not yet created... I actually think that
> maybe we need .iana-future, which gets changed at or before AUTH48 to ".iana"

Right.  The important thing is that it can reference another document, which can then independently move forward.  But that would need to *export* its registry content (probably via XML…) in a common format.
Lots of tooling needed.

>> I think we’ll need some discussions with IANA to make this really
>> useful in practice, but the overall direction should be visible from
>> the proposal.
> 
> Agreed.
> I also think we need some interoperation with YANG, and I think that YANG
> also needs ".iana"

Absolutely.  But maybe we can design it in a simple enough way so we can use it, too.

Grüße, Carsten

>> [1]:
>> https://www.ietf.org/archive/id/draft-bormann-cbor-cddl-freezer-08.html#name-iana-references