Re: [netmod] WGLC on draft-ietf-netmod-rfc6991-bis-11

Carsten Bormann <cabo@tzi.org> Mon, 27 June 2022 15:57 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 876A2C14F75F for <netmod@ietfa.amsl.com>; Mon, 27 Jun 2022 08:57:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 iVQBKupNfwfg for <netmod@ietfa.amsl.com>; Mon, 27 Jun 2022 08:57:41 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::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 2A3CBC14CF06 for <netmod@ietf.org>; Mon, 27 Jun 2022 08:57:39 -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 4LWsnC2YPNzDCdG; Mon, 27 Jun 2022 17:57:35 +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: <20220627140853.6xa73s4vl7vsghan@anna>
Date: Mon, 27 Jun 2022 17:57:35 +0200
Cc: tom petch <ietfc@btconnect.com>, "netmod@ietf.org" <netmod@ietf.org>
X-Mao-Original-Outgoing-Id: 678038254.948887-8e330c3ab262d862ee909d2856a1ed30
Content-Transfer-Encoding: quoted-printable
Message-Id: <65EFB5D1-951C-4A6F-8D8D-0E7412A7C013@tzi.org>
References: <20220307161053.old2vgmopuyhxvla@anna> <0100017f8ac7cc70-e9e2dfaf-c726-4853-bc0f-e656bef2f83e-000000@email.amazonses.com> <CABCOCHSQB_AW2nveVAwx38Nrw7wHmkpLmRr5W+Qr3GYaM0KA9g@mail.gmail.com> <20220315130137.kpomlykipy2p42lw@anna> <CABCOCHQS35LSRfN=Be_PEb5ftWPhM+kyimf1seCMfBgM_x8r7g@mail.gmail.com> <20220322071133.e6oq6neuolzcgvna@anna> <AM7PR07MB624856F66323CC2E01AE485EA0199@AM7PR07MB6248.eurprd07.prod.outlook.com> <AM7PR07MB624812A38620EC13A8600900A0B49@AM7PR07MB6248.eurprd07.prod.outlook.com> <20220624100203.umqxb5dx3gz7q5gq@anna> <AM7PR07MB624818D7189E6DA9796F257DA0B99@AM7PR07MB6248.eurprd07.prod.outlook.com> <20220627140853.6xa73s4vl7vsghan@anna>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/iSqN2i7_x3nciL3j-YDFU2O2Ljs>
Subject: Re: [netmod] WGLC on draft-ietf-netmod-rfc6991-bis-11
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jun 2022 15:57:43 -0000

On 2022-06-27, at 16:08, Jürgen Schönwälder <j.schoenwaelder@jacobs-university.de> wrote:
> 
> Petterns are nice to have to detect wrong values "early" but once
> patterns become very complex, the likelihood increases that they are
> wrong.

We (draft-ietf-core-problem-details) had a grammar mirroring RFC 5646 first but then came up with (CDDL):

tag38-ltag = text .regexp "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"

based on input that the XML documents have been doing the same for a couple of decades already.

JFYI.

Grüße, Carsten