Re: [Last-Call] Language tags and YANG

tom petch <daedulus@btconnect.com> Thu, 30 June 2022 11:01 UTC

Return-Path: <daedulus@btconnect.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BFE7C14F613; Thu, 30 Jun 2022 04:01:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.584
X-Spam-Level:
X-Spam-Status: No, score=-3.584 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-1.876, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=fail (1024-bit key) reason="fail (body has been altered)" header.d=btconnect.onmicrosoft.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 uVk4lfFi3Bqe; Thu, 30 Jun 2022 04:01:20 -0700 (PDT)
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10110.outbound.protection.outlook.com [40.107.1.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA14CC15A740; Thu, 30 Jun 2022 04:01:18 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fxDAsuQcbNVTtsJJefpHMbXMvVO9mjM+tki4toh8/9z3H4UpT86jsaYoZgnQFKE5MyzcCSEW/8+q6ZqEDEqfd3uK3CU65YYmJt6ECjyFfZT7uiPD+ANxZ+53prc+Sorxx54leQWxURAGmEKNF3K2K4Hf4EUdqUOKuzYEnMHbInLISDGNRHRYLXtmlAfQnGt2+Qy8qZnmf5oNI/h79zn0Yt18hspZeSufYS2FDRxl5imJGUsorwzz8DBq46B0auUP3mhY1Ns+IlBVhPAfiFkD9utoVB5+IqgbU7lPcEDzOeWTH8TF4C6Nc1xratuAcw5RL48ULLGA4EJ0HQjSkvFYxw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7tCIDlkSsyINMLYU8w+2ktfCrADpIiiitkute0SPTQk=; b=T17pLBhKuooXTLuixGI0ZOQzrlwmdi25oRQtI3g8S9E8JCQogZow9QKrZFmOJxYbKvNYkUou1CiYxwY4ULz/NgkKEk8l+ZjwolaPgIZjMJxnSDceR+JI6Zel4/3DOoRthWpMvm6SSwF0TPcBaNL8tDlxlFm6r6BTm8/w7tIbl9hnGogzoifKgOiYdxrVlavSmWDd7E4rTZ4aOyrhHhOYTON+B1RaM3TjJXWY+UUWhzuiMf3LcFEUFm1DkryjUkTr6hjRjvmgQ2MMA0yU6vUOmg9NU35WHUlos/MTXUzc0Oly5gNpRNBHhT4urvPfPQq/FQWVLc7zw2uzDYjgpwrzAw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=btconnect.com; dmarc=pass action=none header.from=btconnect.com; dkim=pass header.d=btconnect.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=btconnect.onmicrosoft.com; s=selector2-btconnect-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7tCIDlkSsyINMLYU8w+2ktfCrADpIiiitkute0SPTQk=; b=aKAAPYdSto0BA57zBZ6bD5ceNR+LpLrsiJHvkydtY97+MOzDRpmCm4IeHQsCI4jc6dllRQ4T2rWidKezpZISmb2xhmWnSTDRSiKpwiG2E5pVBgrj5CjUeVmuDXykqprV9qkqrMseFh44PuTVd/hkAx+GMKm7WnHTvaL/G+IvO5c=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=btconnect.com;
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8) by DB7PR07MB3980.eurprd07.prod.outlook.com (2603:10a6:5:11::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Thu, 30 Jun 2022 11:01:14 +0000
Received: from VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::b1eb:c51e:6586:a5d7]) by VI1PR07MB6704.eurprd07.prod.outlook.com ([fe80::b1eb:c51e:6586:a5d7%6]) with mapi id 15.20.5395.014; Thu, 30 Jun 2022 11:01:14 +0000
To: Francesca Palombini <francesca.palombini@ericsson.com>, "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
References: <165511479760.19573.12671700576299137749@ietfa.amsl.com> <63D13796-758D-469B-AFA8-3050C9F87819@tzi.org> <dde9d36c-61e5-afcc-e15a-787c99d5fba9@it.aoyama.ac.jp> <CAN40gSuhSAOH3WRPETXU4s1468eXb_g-=sfWFmXXTvekEddqYQ@mail.gmail.com> <034DDF0F-FEF2-456B-B9ED-76B8F2B6C4BF@tzi.org> <CAN40gSuGJOChjAY9fFD5Gwqn9CaLH09-m5MKb5Gfg8HH9WYjvA@mail.gmail.com> <0359E066-79F3-4AAB-92A5-30B5E01D16CE@tzi.org> <CAN40gSuR12WE=NC-MqGvCX1z+XNVn+5X94VFH1qHE373gbQR_w@mail.gmail.com> <62B57BC0.9080706@btconnect.com> <CAN40gSsg+nbDejC2d34wpLhecUnGTEZL6RAHjT5UUKTJWRS7Uw@mail.gmail.com> <62B59596.2010203@btconnect.com> <AS1PR07MB86163DBAA92FE852CE0A495F98BB9@AS1PR07MB8616.eurprd07.prod.outlook.com>
Cc: Applications and Real-Time Area Discussion <art@ietf.org>, "last-call@ietf.org" <last-call@ietf.org>, "i18ndir@ietf.org" <i18ndir@ietf.org>
From: tom petch <daedulus@btconnect.com>
Message-ID: <62BD8272.8020706@btconnect.com>
Date: Thu, 30 Jun 2022 12:01:06 +0100
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
In-Reply-To: <AS1PR07MB86163DBAA92FE852CE0A495F98BB9@AS1PR07MB8616.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: LO2P265CA0242.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:8a::14) To VI1PR07MB6704.eurprd07.prod.outlook.com (2603:10a6:800:18b::8)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f7d1dcdf-e6ad-4d9d-3086-08da5a87d97c
X-MS-TrafficTypeDiagnostic: DB7PR07MB3980:EE_
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: XTcsMFAkZ+hODYZjAmFYb56mt1diCDuOLEC1l9eYmP9qjN7CC1aAaha9XKc8F3d/76h+lunBED6xJy8/+RZvvk/BZY7ZsOeKC+dj+ZbxGY29rKbKWYIDRMik0AHvEcSBgmrsTuNRtiLwEqw10GwXeOxw99q17aexY6CCDgEQRsTdvgv3KEVOo0HXpmCuMqUnjgHdbsa7DZEpMYVJ/6GZ53OOIA9OERRkJjrFd0h3rUhs2Y7t+beYc3/sKaKj5X51RJDS/6TZ3siszXRTdQLWAhZtN5+Eqfo9dXrz18hylDwKXXTCRpdaqxKMuB56HSHDHxm8bLTZQN8QJ50a7Bs5+yJwzj/9NPfEDDrycuPtwCOU7irM2/SW7BQSK+O6MbA5/7dlucC0wtqD/4RqJf0QWBvjkWSH6lziHmdR1+Nauxp56YC1pYQhMyYe7kxEP0X1Mql+djtpa2t6GODolHEehBdK/UIGlzsYBRryKIoymTEY2gi2cIs7qdme6tm07+LgmkqnSdNeZxTjfCghp5tqETX2lFZ2J2TjxJLrVLn02FreCwXEOhuXQ4N7UWNWZtdyF3plgMrfsmJq7X9tYOfb8VCdRlhtGJ/2g28LiN6VoASIO5/8cENgrHBajwbKLIITORfCk7yHKPAGZVwK/diQ7MTKz9s8wGfS2OR0CS9+pcdyH42gJ43FxWCkCPC0UmrS0hBGryQAzIsAduIIYeSGYNy1CS2zGF5Jq9hpIg8fYxNuu+kodPxW8A1FhA6GPovxNMMIgtAMoZ+XedgwxWvw42mGi/M+q/UoYLaX/a2z4l4XOI8wpWd8u4v2Afpe3+FoX28lPdJblgquy0f5ESLclw==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR07MB6704.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230016)(136003)(39860400002)(376002)(366004)(396003)(346002)(8936002)(316002)(6506007)(53546011)(87266011)(2906002)(30864003)(36756003)(5660300002)(6486002)(110136005)(54906003)(33656002)(6666004)(26005)(52116002)(6512007)(66476007)(478600001)(86362001)(966005)(82960400001)(3480700007)(38100700002)(38350700002)(66574015)(186003)(66556008)(4326008)(2616005)(41300700001)(66946007)(83380400001)(8676002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: 1FA6e4BpB2KDL4PSLW6pk+1oNqGftsQZ8vgLSadyi01CppC00IMccxqCyXZFFOvit7rvWSV1wufDTJRVWeDqzwhwmZ3QZphjgV6gWVdP7WhIwmzbJQX5NDHKepDKZ3VbE5DXBqNpV9KYABSNEEhB9voCToEhnPBJNMoai9GcMPT8/9N+rpY73gbuZybn70akMGRVEY3/UR7hiY8tMCeAulbOL7XDm/7EYxQ7vWu6yhGh+/bOPgCZnAuXAyrZixaXZ8duxcLYmOwstum5V/qNBcxkTWl8T8J1+FOAsM3sBUUXpSgaX8INfyf5XoZKX465XO/4JEAFU27QOC2ieSluIdXlrgisqYW18Q4fIuCCV9Cj+4t30gYtaUPimQMakbgbJ9j0Y3/K14A4NwdxwSCS/+QYAA9sWXOmqy2Waw3eHNcKiZTBJjsDgY+nVoON7jVZtZbgaN6K32AHQ/6vU0icIUREcHwERIpTGqNCNdXsvxiueYtSh/HCGSTsDvPbSxE11m26kgvJzKZy43Qn4J+oxgvRz6CCATpSJNfkKEEYmxtcTi4fdnNkUYPNTEuJix7767QDPWV0qS65UnBnGgVraYIKuEl3AdL2Btvs8YNHQFSkJ7xtmqQNskNUSaJHqTjFu3CSdGbIUUBXcfmif5AQNzTTYGNWFiA7YK2VdN7wI7uzTgo9yOACwJ5KxP90DjxUc5dV3LHltsGQl2lIeTvk7bhEVnpoIQNqwVes7s5C3Ei/+cW2YXLW+IQyZNSQH7AqdY7pZV1b4F/0hCIyzaPr/vkRZqCBJVAti9V+lkfsVQN/WIfBxgLVhipR8ota8K901Ao0JopERfN2ZXW0/jEBlvbMIqP/0KIG515xuvwKTCoxkQS5Uf7TwFI0fK/DX1ODtWSQy1akD9Kw5zjEDUvXsYGz635XC9eIJPqNZmwWwF4DfUY2iPodzSKeu8ZlgFZ9aTBvWx3dsmS06gy+pTXlK5H+DVivEIS1Pzd4XvoRikeiVPplE+x3cyGTTzb3nsjgEvwkKF436XOLuohJVOd6Q71JVm9dJyZBpY3vvJH22UgEbCTsClgA6518ONcs85lqqOQTCExD+hDdAMCdkeWo0lj0Z8dfpaglfc2caVSv1b7Z6e8+gSOUMK9aV4eoXxX6nZYYZchnplzksKlHBwanoEQcGOOS3QV5ZEr+MeiK/El3F9FjtET7c884RGrrSVSg/PXeOCmB1oefAf5c6nNK+fdYY7uupvv4v15ER3HV60SId7S6rqKvaIvDu6EWVN8iMSskkqUWCQYOVp5iflGfrug/LtnXk23weHpLG0/wbRY1U/X1hVrbQ+J8wKYZcCguncaKp/jv8UBMfZbhAmoUi1fzUBg086Mu+e7b22lzAI6m61rJp7Ia2dyRzxHj4TkYjG4GHxaazSOE9ITJwjXfPeDI87dfVv26vxaOkLiycjCMd5+MaDCQdRbJhmQWK7ebmhuAyzETO7AtDnHBsRFE7GwL7uS3rCk/Ftwh63U0hSHmzKOu+DE8oSNtlBlzYZq1Z0GC2yzfFYhcQ2++G7hflg6stoK5Tx4GyFAFWN1DbJFv7kDY//xNxUbCSq2YAxAX2q7SmztmJ6D4INn5ENxM8A==
X-OriginatorOrg: btconnect.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f7d1dcdf-e6ad-4d9d-3086-08da5a87d97c
X-MS-Exchange-CrossTenant-AuthSource: VI1PR07MB6704.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2022 11:01:14.4256 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: cf8853ed-96e5-465b-9185-806bfe185e30
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: VIwH9/VcLxOFIxRDjWQ6IxOMx2NYX5QOq0zBCmI2hdLbozhQUJ8OLpBGUjptqUBecrnXhtHjPG4RITSUbPx3Fw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB3980
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/a__yo1lD8rPfBGCRNUuweKq4i9g>
Subject: Re: [Last-Call] Language tags and YANG
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jun 2022 11:01:24 -0000

On 29/06/2022 15:55, Francesca Palombini wrote:
> Hi Tom,
>
> (reducing the CC, adding i18ndir, and changing the subject)
>
> I do my AD review during balloting with the typical ART topics in mind: https://trac.ietf.org/trac/art/wiki/TypicalARTAreaIssues . And yes, that has provoked a number of DISCUSS on YANG documents that included human readable text. In some cases, it was explained to me by the authors that those were not necessary and that clarifications was enough for me to remove the DISCUSS. I do hope that bringing attention to the issue improves the documents (and please let me know if any of you believe that it does not), however I am no i18n expert, and I am happy to get i18n opinions on the best way to “fix it”.
> Martin, all: if you have advice on what to recommend authors of YANG drafts coming my way, let me know.
>
> Thanks for bringing the language tag issue to 6991bis – it is best to address it early than getting stuck with a DISCUSS at a later stage :) And I only see documents that I am not responsible for at a very late stage, during IESG evaluation (and often too late to request i18ndir review or opinion).

Francesca

I am conscious that I have been using your name a lot in the past few 
weeks - months? - without copying you on any of my posts and that is 
discourteous.  My apologies; I was going to address you directly but 
should have done so earlier.

Much of YANG comes from SMI and SMI has a datatype intended for messages 
to operators and such like but YANG does not.  The YANG type 'string' 
allows a length of 18446744073709551615 and almost any Unicode character 
(RFC7950 s.9.4) and is much used for messages and identifiers without 
constraint.  I have commented on that many times and the usual response 
is 'Fine with us'.  Mmmm... seeing you raise an issue is good news.  (I 
think that there are many YANG modules already in RFC that would benefit 
from your approach).

You flagged a DISCUSS against the I2NSF I-D and got a revised I-D with a 
complex and invalid regex which was edited into a complex and valid 
regex.  There was no discussion on any list AFAICT about this regex and 
the pdf that the I2NSF authors provided with the revised I-D simply said 
it had been added with no explanation as to how it was derived; such is 
I2NSF.

I then saw the issue about language tags with regard to 
core-problem-details and camped onto that. I think Carsten wished I had 
not but the major gains for me were Martin's comment - a name I would 
turn to for advice in this matter - that the regex was too complex, and 
Carsten's much simpler constraint on length (and not character set) for 
language tag in the I-D in question.

If a YANG type for language tag needed to be as complex as I2NSF had, 
then it needed to be in 6991-bis but if it can be as simple as Carsten's 
then it need not, IMHO.  This is good news because 6991-bis is somewhate 
overdue and has ground to a halt because of a dispute over IP addresses 
where those who perhaps had not read RFC6991 assumed they knew what they 
were getting from the name of the type whereas the RFC has always been 
clear that the simple, ip-address format includes a zone (RFC6991 s.4); 
indeed the precursor to RFC6991, RFC6021, did not offer a no-zone 
alternative.  This issue has come up many times with YANG doctors and 
again I have flagged it to many authors of YANG modules, some of whom 
have gone for no-zone, others (tcpm-yang, currently in IESG review) kept 
the zone.  It was one such comment on an LSR I-D that brought this issue 
to the attention of the authors of a number of YANG modules which in 
turn has created this impasse on 6991-bis.

So, belatedly, two questions for art.  When is a language tag needed?  I 
saw your comment against one I-D and your satisfaction that in this 
case, no tag was needed.  I do not know what the criteria are, in general.

Second, what is a suitable constraint on a YANG string to be a language 
tag?  If Carsten's length constraint is adequate, then I would advise 
authors to RYO as opposed to waiting for 6991-bis; if something more 
complex is needed, especially if it involves restricting the choice of 
characters, then it probably belongs in 6991-bis.

Longer term I could imagine an IANA-maintained YANG module of language 
tags but with YANG, maintenance by IANA is not as simple as it was with SMI.

Tom Petch

> Francesca
>
>
> From: tom petch <daedulus@btconnect.com>
> Date: Friday, 24 June 2022 at 12:45
> To: Ira McDonald <blueroofmusic@gmail.com>
> Cc: Carsten Bormann <cabo@tzi.org>, Martin J. Dürst <duerst@it.aoyama.ac.jp>, Harald Alvestrand <harald@alvestrand.no>, Applications and Real-Time Area Discussion <art@ietf.org>, Core WG mailing list <core@ietf.org>, draft-ietf-core-problem-details.all@ietf.org <draft-ietf-core-problem-details.all@ietf.org>, last-call@ietf.org <last-call@ietf.org>
> Subject: Re: [Last-Call] [art] Artart last call review of draft-ietf-core-problem-details-05
> Just on the YANG point
>
> On 24/06/2022 11:20, Ira McDonald wrote:
>> Hi,
>>
>> Hmm...I knew I should have been silent in this thread...
>>
>> John - you're right that any future update to RFC 5646 will be carefully
>> backwards compatible.
>> And Martin could answer (off list) your question about possible future
>> changes.
>>
>> Tom - many copies in YANG or anywhere else is a disturbing idea.  Any
>> computer language
>> that doesn't have a good mechanism for namespaces, import, and export isn't
>> fully baked.
>> And I know so little about YANG that I don't even know what it can do here.
>
> Ira,
>
> YANG does have import but it is a bit clunky.  The I2NSF have a cluster
> of six closely related modules which cries out for a common module but
> the WG chose not to use that approach so there is much replication, much
> ovelap in their modules e.g. with language tags.
>
> The NETMOD WG produced RFC6991 which provided common types and is used
> by almost all YANG modules and 6991bis has just completed WGLC so that
> is the natural place to put a language type.  6991 works because it was
> based on decades of experience with SMI but other WG are not so skilled
> at judging when to create a common module and what to put in it.  The
> opsawg WG is an interesting case study therein.
>
> So with Francesca raising this issue several times I have asked NETMOD
> to include a language tag construction in 6991bis but since the I-D has
> a long history and is much overdue, then I expect that they will be
> reluctant to act, but I have asked.
>
> Tom Petch
>
>
>> CORE - please delete *all* of your CDDL details for language tags and just
>> use one of the
>> several excellent libraries that correctly parse language tags, when needed.
>>
>> All - one of the  key ethical reasons for the Internet is fair access to
>> information for all.  The
>> correct use of language tags is really important.  The idea of inferring
>> human language from
>> the context is nonsense, because the upper layer context is often the first
>> thing discarded.
>>
>> I will now leave it to Francesca to keep bothering the IESG about language
>> tags and return
>> to my cave and worry about automotive security.
>>
>> Cheers,
>> - Ira
>>
>>
>> *Ira McDonald (Musician / Software Architect)*
>>
>> *Chair - SAE Trust Anchors and Authentication TF*
>> *Co-Chair - TCG Trusted Mobility Solutions WG*
>>
>> *Co-Chair - TCG Metadata Access Protocol SG*
>>
>>
>> On Fri, Jun 24, 2022 at 4:54 AM tom petch <daedulus@btconnect.com> wrote:
>>
>>> On 23/06/2022 22:08, Ira McDonald wrote:
>>>> Hi Carsten,
>>>>
>>>> I take your point about copying from a given RFC.
>>>>
>>>> But the history of IETF Language Tags is RFC 1766 (1995), RFC 3066
>>> (2001),
>>>> RFC 4646 (2006), and RFC 5646 (2009).  It's a long time since 2009 and,
>>> as
>>>> Martin noted, there have been a variety of proposals for updating
>>> language
>>>> tags in the past 13 years, so it's reasonably likely that there will be a
>>>> newer
>>>> version at some point.  And since language tags are now quite structured,
>>>> the chance of not needing syntax changes is fairly low.  This draft RFC
>>> from
>>>> CORE wouldn't catch up quickly, presumably.
>>>
>>> Probably a left field comment.
>>>
>>> I had not heard of, or forgotten about, language tags until the IESG
>>> review of draft-ietf-i2nsf-nsf-facing-interface-dm drew a DISCUSS from
>>> Francesca because the 26 YANG string that were meant to be human
>>> readible had no language tags.  She pointed to RFC2277 while saying that
>>> RFC5646 should be a Normative Reference.
>>>
>>> The I-D was revised to include a YANG leaf 'language' with a horrendous
>>> YANG pattern spanning 25 lines.
>>>
>>> Two consequences.  The pattern, doubtless a gross simplification of what
>>> it might have been, was wrong and was revised - I have not looked to see
>>> if it makes sense now but then I did not spot the error in the first
>>> place - so I have the sense that, like trying to specify a pattern for
>>> IPv6 address, language tags are easy to get wrong.  Second there is now
>>> a pattern of Francesca throwing DISCUSS at other similar I-D so language
>>> tags, and their modelling in YANG, could get more attention (at least
>>> while Francesca is on the IESG:-) her comments could have been made
>>> about any number of earlier YANG RFC).  The pattern in the I2NSF I-D
>>> cannot be imported into another YANG module, rather each YANG module
>>> that draws a DISCUSS will contain a fresh copy.  If ideas evolve, then
>>> there are likely to be many disparate copies.
>>>
>>> Tom Petch
>>>
>>>>
>>>> Cheers,
>>>> - Ira
>>>>
>>>>
>>>>
>>>> *Ira McDonald (Musician / Software Architect)*
>>>>
>>>>
>>>> On Thu, Jun 23, 2022 at 2:34 PM Carsten Bormann <cabo@tzi.org> wrote:
>>>>
>>>>> On 2022-06-23, at 13:13, Ira McDonald <blueroofmusic@gmail.com> wrote:
>>>>>>
>>>>>> Hi Carsten,
>>>>>>
>>>>>> OK - you need to get this CORE document published quickly.
>>>>>
>>>>> Thank you.
>>>>>
>>>>>> But I still think that detailed CDDL would be a long-term mistake, for
>>>>> the reason
>>>>>> that Martin cited - i.e., copying/transforming grammars among RFCs is
>>>>> fragile.
>>>>>
>>>>> Well, the RFC is immutable, so the act of making a copy cannot by itself
>>>>> be fragile.
>>>>>
>>>>> What got us to now propose blunting that grammar is the strong
>>> impression
>>>>> that there may be less consensus about the grammar defined by RFC 5646
>>> than
>>>>> we thought.  So it seems the grammar in RFC 5646 is fragile, not the
>>> act of
>>>>> copying it out...
>>>>>
>>>>> https://protect2.fireeye.com/v1/url?k=31323334-501cfaf3-313273af-454445554331-49f3e3be3435cd25&q=1&e=93f41461-c9f8-43b4-a55e-379df39a4e0b&u=https%3A%2F%2Fgithub.com%2Fcore-wg%2Fcore-problem-details%2Fpull%2F40%2Fcommits%2Fbbe72e2
>>>>>
>>>>> (I’m making a point about copying here as I believe copying out snippets
>>>>> of CDDL from RFCs and other specifications will be a significant part of
>>>>> CDDL 2.0.)
>>>>>
>>>>> Grüße, Carsten
>>>>
>>>
>>
>