Re: [Cbor] [netmod] iana-if-type.yang has multiple revisions with the same date

Carsten Bormann <cabo@tzi.org> Wed, 25 May 2022 09:11 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 759B8C14F608; Wed, 25 May 2022 02:11:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level:
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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
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 9GUCnyaIRv8U; Wed, 25 May 2022 02:11:51 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 15F94C14F612; Wed, 25 May 2022 02:11:51 -0700 (PDT)
Received: from [192.168.217.118] (p5089ad4f.dip0.t-ipconnect.de [80.137.173.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4L7QL905KQzDCfQ; Wed, 25 May 2022 11:11:44 +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: <CAEe_xxjD-AnZ2FzuzPi7JB0P+kkQNyt0qrcXfsrRERzBErw+yg@mail.gmail.com>
Date: Wed, 25 May 2022 11:11:44 +0200
Cc: NetMod WG <netmod@ietf.org>, cbor@ietf.org
X-Mao-Original-Outgoing-Id: 675162704.52558-0b7da8086a8bf19eda20425ad7ae70d6
Content-Transfer-Encoding: quoted-printable
Message-Id: <935F6EB3-D30B-4978-8750-45DF22DF6B20@tzi.org>
References: <CAEe_xxiTdvGscUqhuC=Kuh70C-=MRnA8GgjupC2vBfkK6_p+kw@mail.gmail.com> <CABCOCHR+yKwL7kkV2_Teha-Vnc8AJ9Q8QhZyjYwjaj286=vR_g@mail.gmail.com> <CAEe_xxgF+qtQ_9Yzm5q5k2rnubt_gOj9BOEnRsYeJXnyAxXoZw@mail.gmail.com> <CABCOCHRRXDTEwWXTv9USFc5yw99DG_Oktk4iChsvzDsSAQeBBA@mail.gmail.com> <CAEe_xxjZpt0JVgiE5o2fw=OVwohveF-Yz3Cb3LVg3bHReOEUtQ@mail.gmail.com> <20220303190008.25d3xantvohwlyia@anna> <622115de.1c69fb81.409a8.d5c6SMTPIN_ADDED_BROKEN@mx.google.com> <CAEe_xxjykDv+PSG8bc+ZbNqwqg-auNTGn+j4_t-xg64o2TsC9w@mail.gmail.com> <BY5PR11MB41960F77BD40D20AEC314106B5059@BY5PR11MB4196.namprd11.prod.outlook.com> <BY5PR11MB4196C84A6994A2469808D599B5099@BY5PR11MB4196.namprd11.prod.outlook.com> <CAEe_xxhy0SRHJpgT4UXBLgoC95=u6mGgOoXm=fVn7JPsvasbZA@mail.gmail.com> <53537300-A819-4E57-87F0-BE5743D6EA7B@tzi.org> <CAEe_xxjD-AnZ2FzuzPi7JB0P+kkQNyt0qrcXfsrRERzBErw+yg@mail.gmail.com>
To: William Lupton <wlupton@broadband-forum.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/7yUMh2bcnNme2jz1ue3p2IpIB2Q>
Subject: Re: [Cbor] [netmod] iana-if-type.yang has multiple revisions with the same date
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.34
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: Wed, 25 May 2022 09:11:55 -0000

On 2022-05-25, at 11:05, William Lupton <wlupton@broadband-forum.org> wrote:
> 
> I think this partly depends on the general attitude to non-ASCII characters, e.g., are accented words tolerated, encouraged, frowned upon or forbidden?

Long discussion, including CVEs like:

https://blog.rust-lang.org/2021/11/01/cve-2021-42574.html

> Are programming languages in general tolerant of smart quotes for defining strings (I don't know but I suspect not)?

Certainly not.  This would be a major innovation, trading convenience for correctness.  It also wouldn’t be backwards compatible:

  description "like “foo”, this doesn’t create a “bar”.";

(I had to be careful typing this, I hope I didn’t mess up.)

> If not then I don't think that YANG should be either. But the tools could generate better error messages if they are inadvertently used!

Yes. This is probably a bit harder than one might think, in the presence of examples like the above.

Grüße, Carsten

> On Wed, 25 May 2022 at 10:01, Carsten Bormann <cabo@tzi.org> wrote:
> On 2022-05-25, at 10:51, William Lupton <wlupton@broadband-forum.org> wrote:
> > 
> >       "Coalesced revision history entries for 2018-06-28.”;
> 
> Wonderful example.  I’m wondering whether the next version of CDDL should simply accept typographic quotes in place of the typewriter quote…  (and, as the example demonstrates, any weird mix of them.)
> 
> Grüße, Carsten
>