Re: [netmod] [Technical Errata Reported] RFC7950 (6855)

"Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com> Fri, 25 February 2022 16:21 UTC

Return-Path: <jason.sterne@nokia.com>
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 433A63A11A0 for <netmod@ietfa.amsl.com>; Fri, 25 Feb 2022 08:21:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.472
X-Spam-Level:
X-Spam-Status: No, score=-2.472 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.576, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nokia.onmicrosoft.com
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 KhLHLWaXANDJ for <netmod@ietfa.amsl.com>; Fri, 25 Feb 2022 08:20:53 -0800 (PST)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2070a.outbound.protection.outlook.com [IPv6:2a01:111:f400:7eaa::70a]) (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 328AE3A0E6D for <netmod@ietf.org>; Fri, 25 Feb 2022 08:20:52 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nhzsKcGk3YAnkdnDv3uS7nSvTQjWpnJYKSdJkLtq+MPsRIFYqmqfUvAqewif/y7n6vrO8wTTLOGtu+HZZkBYcfHAuBXq9EwXHGbp4/6bB1v1621HtekBR7qNRWcW7zeuUGbY6wBN4uK/aF008nm7gosMnt7Q7Vn/ta3NzBWbq4dK4ohDzObGWNAwKJAq8VhGqd4KFBI/hUWDQNWOPMmoKlc+LAP9ubzFLTFqQUHFBPX/aKoRf0qAHWs+PhVVPWnShMroHT7rJ3WbeJxLxyj3+uJ21t5CwTDNpswqBIdkykrDWtAR9ZdZdes2nuErcijuFAQKeIQ/+FhrkxRHyxGhsg==
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=v+NH0VSCRZloRPSmuX74CAWuzP1ek1aSl6MdsFJTiJQ=; b=inYHwG0sDj7y8yEmTV4jILYPZGf60dnGyBpsS6dznM2vt0K75a4Z1xI6teIJI3yqkJG0H7S+Gfi4AdZPhUzuu9lfiQddGLi6+tjcVDbr88SyaH3gd3oZl5DnIVXa2EM6+xLaM/w3Hnfz9UNsbafI61Z8vuLBNtLjAQQK5vqZ2uXynVvOWSPPgum+AQd/wHhla/wf3ceaNikhXw2UOFlCdGuku4bYRyhoNQJe2/bn5Lxrjf+iSu7G6A+elGf0Ofm1hFTB2fikgPW7EWHmniLp+Ttz+xDUeoUglsohhCMfDlcg442WyOtlgqSh7a3gkhMjNeuM1O9XxiVrlWX0ID9Kaw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nokia.com; dmarc=pass action=none header.from=nokia.com; dkim=pass header.d=nokia.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nokia.onmicrosoft.com; s=selector1-nokia-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v+NH0VSCRZloRPSmuX74CAWuzP1ek1aSl6MdsFJTiJQ=; b=p08DlPSOR7dxni31pi4pTzkCOxSca5taXYILiEhvW/DIGY63u8cDlRc7QJN2KI53bvvlvv8ZSBf0Mzoh7SPJLiuCn05twxqfFdkB2UsxWUMCchPkNEJaPjG/vDWuNNetK2r6ZhgBK9h6h6JKdDDWhjzW4ad/hZv9j2if33gt7D0=
Received: from DM6PR08MB5084.namprd08.prod.outlook.com (2603:10b6:5:41::29) by MWHPR0801MB3772.namprd08.prod.outlook.com (2603:10b6:301:7f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.25; Fri, 25 Feb 2022 16:20:45 +0000
Received: from DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::d937:3404:2dfc:eb33]) by DM6PR08MB5084.namprd08.prod.outlook.com ([fe80::d937:3404:2dfc:eb33%4]) with mapi id 15.20.4995.029; Fri, 25 Feb 2022 16:20:45 +0000
From: "Sterne, Jason (Nokia - CA/Ottawa)" <jason.sterne@nokia.com>
To: "SADOVNIKOV, ALEXEI" <AS549R@att.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, Kent Watsen <kent+ietf@watsen.net>
CC: "mbj@tail-f.com" <mbj@tail-f.com>, "netmod@ietf.org" <netmod@ietf.org>, "warren@kumari.net" <warren@kumari.net>, RFC Errata System <rfc-editor@rfc-editor.org>
Thread-Topic: [netmod] [Technical Errata Reported] RFC7950 (6855)
Thread-Index: AQHYJC9YATqq8x5CIUumGkuf19y4oqyYJ/0A//++7gCAAHMFAIAHWOYAgAAEIgD//78eAIAFBYIA
Date: Fri, 25 Feb 2022 16:20:45 +0000
Message-ID: <DM6PR08MB5084642053B62B904FE70B289B3E9@DM6PR08MB5084.namprd08.prod.outlook.com>
References: <20220217185035.13A2F4C1D9@rfc-editor.org> <c342b121-efe9-30f0-22dd-f931e1378e79@alumni.stanford.edu> <8843E673-6323-4384-90B2-E3C75D519BB8@att.com> <e03ebb9b-b166-4ecc-8fee-5d03752cdfa1@alumni.stanford.edu> <0100017f21f721f0-5e68776b-2836-4e20-8f83-ffbea5993a95-000000@email.amazonses.com> <BY5PR11MB41969DF671A9880073812422B53B9@BY5PR11MB4196.namprd11.prod.outlook.com> <26F9C810-C637-4D07-A2BA-40873D11C23F@att.com>
In-Reply-To: <26F9C810-C637-4D07-A2BA-40873D11C23F@att.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nokia.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 982b0eb3-c91d-4d32-d38c-08d9f87ac6c5
x-ms-traffictypediagnostic: MWHPR0801MB3772:EE_
x-microsoft-antispam-prvs: <MWHPR0801MB3772A56B6A16212B34FB58089B3E9@MWHPR0801MB3772.namprd08.prod.outlook.com>
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: SRxSRyMX9+De9ZDCJWvCg0TnEmDu6N8y6pgqTADPG6aq/hWJFDUgbQGHpX3GcZF+G+1SSp9SpUfTJQpWNaNGEjLoWY+A34MQ+SuJfWiSy4ikzzux4Y5gI0BJOnOKDkBHDhXXTsObkuOGcmVeA4DrJGf8vauZqOyTYtmJK3PcE3dHN5Hc9rdZ0bEcW0+raDgJP/YVvI6Jy/3dkxLOsi2JNz9KFBh29nSELDsI9UfhUIuCQDIibpQSxDSBMpA5ma3V4W/p2+0cveB/IJ89g/kFbD/QUFyuQxBeGuV68115e6XtMaRFY7xcNJWH5ZxBY0+qZkZjTQM7LuyvIIyhbscTD1gT1u4T8Njqc4cbOlMZmrKHIO6yobK1boARBPVOHNS2ZTMMCBB05a0oq8UD11Zy71Tn1dPZ8NAznD+GbBNJHmjwdJ8I9uLz9gVaehZLw3YEv3CUFRynXElRdor94O9tnzvs0/BpOEp/h40M9ND+SVv04qyyVSZpNNPGt0NJarbfyY8jawzEwROKehwA9ZSFV2s1s2bU0bTQ/8PZXVQj/DnTVc6xoZlnOJKNxMPhL0s4Sq24xBk8JYTFbovOvBbtSpbmGwjPPjvJRFbK5ltMAlbmdAtVBeEdU3dJ0UnMOZWUbEzUUK2Ch6eCBp8HMqFTpPqlff6mbooAj5wut8au48S0Wj2msfIKbGKpeQXQ6gn5ckOcOVU9oT2zDlwUvtf0dWVUAXBwpRXyP5ub9knLuFhjRXLVkf1SdlpGXAHHlxDMYQh6geNv/d3C4WQBybHQdbAzJlplP6hel+UwHxIVbUMDUWHa4pJ6gWuri+hUziRNt/1wp3PDILGKAt6CTVHIAA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR08MB5084.namprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(64756008)(33656002)(66946007)(66446008)(66476007)(66556008)(76116006)(8676002)(2906002)(38100700002)(4326008)(166002)(110136005)(55016003)(82960400001)(54906003)(316002)(40140700001)(5660300002)(122000001)(8936002)(9686003)(86362001)(83380400001)(30864003)(186003)(52536014)(508600001)(966005)(38070700005)(71200400001)(7696005)(6506007)(53546011)(559001)(579004); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 3IoG0XY2CXSSgsQajDaZcNDL5NFINTE1dz1yXceVWhY93WgxNox2Zv8Fe+V3xYozPYkE9UbjSEdJG0rYcZfcLDJIQbvmO9YM9gfSZhi0PuUjFg74cxb9X2D9SHS9LtK8321R0/tQwLJzw/yMeOawgQ7a8liCFatIAMkeZy6q3aXtxwvwHQi7n9bnIAhCwTsLOiaMN6QXGT4N73hzOI8B9e0M18NEMd9ihhWN+iR/JTLpGdE2a2M2BWN2aJOzPQ5V0zxlOEhquPTbx+L+csLgZpAKt6HpHAio27zPa/6utU+1P4yRfQu9Xm3nrcXL5jVQCnvDZZuRHhoQx0C/fcUmybM19PswypaYD1pC4SH+EF77Yt2IXMLaZZv2MQw8xxbilhVcM2eI0zZI3tNoT/UtBRJQJcoM757G2/n+izfji2YSBWXhBZhGYA1kYZKYvNGXSJv/ZafnjlpSu/2u46EoFo02J9TQfL0xAhoIiXWXC6QklVdKrgPQrww/4+FfpevfCh1X8CRR29pcp+HJZXSPLPnvKToYWHJgOC1hzUTDcEcwSboxjGwKtqe7nillE87Dy0kk8vEdJSVpgBKurbRNYlC/oTNNUaftLBKbf1sIh/NoWXBXDNNtP9aSMR0xIVCpKaZBp+Y2QvcdyZy0fTZq35d+ODnPY6tu4Rya2Am99mkfUsIhe8CyeK5Fxl3AVfmUVCyAkx00d1KO0YcaFemngz0F2/O/Yh10Z9ac0EcJC4angKbuAtZXNoaOqOXdkJhbROWgEiDXYhwyeJlfnQ4hcUhV9iolJTwH8tnFbGohr3VUlmsFhPAixP2L3Szmp1BCAoqIjP/t+MQ8O/IRJQOaxUgdUwekxoD7JvPeKQuKHMRxNKPGw/d53O3Kx+iV7FQd7q4tNQGE7WmJZqqftFtef+DqcHor7il5Q6KONscondJla3H6iG3qn13pA/JvoAIhBYtSBbRyjgd2f4yLh0Ngqy8tCfOtO2Hqx+LzDM2D3UvBPIGAV6vfdkBjl+bC/Anuf6/myk059odZ5CkLxvCGUCbbrcg/DyxCKEs99RPSPEbFCFQhN3DncIlh3bpdp+8AQKiWWsdWP5aGjYjjVYiNg6nbH8EFbSswGAocO0oTKzSWtGHDmHrBRoRhtkGj7uAjwkOrZ8CzxFz1Jv4+DCyGmkiiCDLTzLhkKgp29Xf8NDh+HPpsb+jWZua73Ixv5WUTcrhNm4cbuIM4MkvJNC/+Bw4s/2hh30lSOfOAR3z0U7mtgZtJQqvL7lcWSY5MbTUjG8lonl1tzKZ/4fjeZiIE+X4dsdYJeItngPFXbZ2wWK+JfK9CH7lhkO/OsRBafowtlmWu6b74d6YbzSPLb4R27Me+HkBcnz1tpbYfeZsYekLTtdJxNeIb3aXNgy/Z6//+kPSxDFV6owV1bwofbNqx3oXsntxEEJH2dw6hajMeFcYtfsPlOFxKFDGT5SnT7wg1pp7gdksGu2oOry7XfGOwJWuCrK4GyYEz88bf9Y7uTHRh5wq5+IWdUdtRuBd5s/YDWcwxHVlesXUQRzYlQ0E0IQ8tlCcm6ADZlTq6K6ydCipUUc2nI73qXAKC0WmX24NWyyy24Mks8oWnp3JZXwfBRsBRDEiZjCR4tI7lPP4yc7ft4WyVro9EP/ntCbdnGtSvV5IHh76Togzo6i9aUcfLufOCTG8QhVZhOn9fzuJkQRo=
Content-Type: multipart/alternative; boundary="_000_DM6PR08MB5084642053B62B904FE70B289B3E9DM6PR08MB5084namp_"
MIME-Version: 1.0
X-OriginatorOrg: nokia.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR08MB5084.namprd08.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 982b0eb3-c91d-4d32-d38c-08d9f87ac6c5
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2022 16:20:45.3094 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5d471751-9675-428d-917b-70f44f9630b0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: eLFTwr/if5qlkvVfitdfNc6VjZT8YoQBjrnxVbGJkDBsYAxrMxR8rqzEuMgZERa2bdxEtwF0TNctDqFi7mVYvA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0801MB3772
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/41UnB3_smv0SwlB6XZMVYvIub14>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6855)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 25 Feb 2022 16:21:06 -0000

Hi all,

There is an interesting consequence of the wording for lists.

>     The list's key nodes are encoded as subelements to the list's
>     identifier element, in the same order as they are defined within the
>     "key" statement.
>
>     The rest of the list's child nodes are encoded as subelements to the
>     list element, after the keys.  If the list defines RPC or action
>     input or output parameters, the subelements are encoded in the same
>     order as they are defined within the "list" statement.  Otherwise,
>     the subelements are encoded in any order.

The first paragraph says the key nodes are encoded in the same order as the key statement.  But then the 2nd paragraph says the subelements are encoded in the order they are defined.  But it isn't super-clear if that entire second paragraph only applies to the "rest of the" nodes (i.e. not the keys). The last sentence seems to apply to the keys as well (outside of an RPC/action input/output).

I believe it is legal to define a YANG list that has a different order for the items in the "key" element than in the definition of the key leafs right ?  For example:

list foo {
    key "key-1 key-2 key-3"
    leaf key-1 { … }
    leaf key-3 { … }
    leaf key-2 { … }
    leaf some-other-leaf-a
    leaf some-other-leaf-b
}
[not that I'd recommend modelling like that]

Is it clear enough that the encoding order of the subelements matching the YANG-order only applies to the elements *besides* the keys ?

It is interesting that there is a small inconsistency here. Looking purely at the order of the leafs won't match the XML encoding for key leafs.

i.e. maybe some implementations will order the XML this way (doesn't match the order of *all* leafs):
                <key-1>…
                <key-2>…
                <key-3>…
                <some-other-leaf-a>…
                <some-other-leaf-b>…
and might some do this (matches the order of *all* leafs, but then contradicts the first paragraph):
                <key-1>…
                <key-3>…
                <key-2>…
                <some-other-leaf-a>…
                <some-other-leaf-b>…

Jason

From: netmod <netmod-bounces@ietf.org> On Behalf Of SADOVNIKOV, ALEXEI
Sent: Tuesday, February 22, 2022 11:28 AM
To: Rob Wilton (rwilton) <rwilton@cisco.com>; Kent Watsen <kent+ietf@watsen.net>
Cc: mbj@tail-f.com; netmod@ietf.org; warren@kumari.net; RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6855)

Thank you, Rob.

Best regards,

Alexei Sadovnikov
Principal System Architect
Business Solutions
AT&T Business

AT&T Services, Inc.
550 Cochituate Road, Framingham, MA 01701
m  781.249.1516 |  o  781.249.1516 |  as549r@att.com<mailto:as549r@att.com>

This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s),  or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.



From: "Rob Wilton (rwilton)" <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Date: Tuesday, February 22, 2022 at 10:21 AM
To: Kent Watsen <kent+ietf@watsen.net<mailto:kent+ietf@watsen.net>>, as549r <AS549R@att.com<mailto:AS549R@att.com>>
Cc: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>, "mbj@tail-f.com<mailto:mbj@tail-f.com>" <mbj@tail-f.com<mailto:mbj@tail-f.com>>, "warren@kumari.net<mailto:warren@kumari.net>" <warren@kumari.net<mailto:warren@kumari.net>>, Joel Jaeggli <joelja@bogus.com<mailto:joelja@bogus.com>>, Lou Berger <lberger@labn.net<mailto:lberger@labn.net>>, Randy Presuhn <randy_presuhn@alumni.stanford.edu<mailto:randy_presuhn@alumni.stanford.edu>>, "netmod@ietf.org<mailto:netmod@ietf.org>" <netmod@ietf.org<mailto:netmod@ietf.org>>
Subject: RE: [netmod] [Technical Errata Reported] RFC7950 (6855)

Hi,

I basically agree with Kent, Randy, Andy.

Alexi,

Thanks for flagging this, and the subsequent discussion.

I can see your point of view that MUST is used in other similar places, and I'm sure that in hindsight it would be nice if the language was used consistently in equivalent places.

However, I don't think that the lack of a MUST statement makes the other text any less normative, or ambiguous.  In particular, there is this paragraph of RFC 8174 that updates RFC 2119:

   o  These words can be used as defined here, but using them is not
      required.  Specifically, normative text does not require the use
      of these key words.  They are used for clarity and consistency
      when that is what's wanted, but a lot of normative text does not
      use them and is still normative.

Hence, I have rejected this errata.  If you find the current text to be confusing and think that it would be helpful to clarify this is a future version of this specification, then I would suggest that you open an issue here (https://urldefense.com/v3/__https://github.com/netmod-wg/yang-next/issues__;!!BhdT!nBhCe6YCJpOtCnmFwZ1oBRjxufTDTet131D2wG3sxyq6mSUshsyDWQzcIrvGvVlRg4l8NnqjPk8x$<https://urldefense.com/v3/__https:/github.com/netmod-wg/yang-next/issues__;!!BhdT!nBhCe6YCJpOtCnmFwZ1oBRjxufTDTet131D2wG3sxyq6mSUshsyDWQzcIrvGvVlRg4l8NnqjPk8x$> ), and it will get evaluated when we get to revising YANG.

Regards,
Rob


-----Original Message-----
From: Kent Watsen <kent+ietf@watsen.net<mailto:kent+ietf@watsen.net>>
Sent: 22 February 2022 15:05
To: Rob Wilton (rwilton) <rwilton@cisco.com<mailto:rwilton@cisco.com>>
Cc: SADOVNIKOV, ALEXEI <AS549R@att.com<mailto:AS549R@att.com>>; RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>; mbj@tail-f.com<mailto:mbj@tail-f.com>; warren@kumari.net<mailto:warren@kumari.net>; Joel Jaeggli <joelja@bogus.com<mailto:joelja@bogus.com>>; Lou Berger <lberger@labn.net<mailto:lberger@labn.net>>; Randy Presuhn <randy_presuhn@alumni.stanford.edu<mailto:randy_presuhn@alumni.stanford.edu>>; netmod@ietf.org<mailto:netmod@ietf.org>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (6855)

Move to close this Errata without accepting it.

Kent  // as co-chair



On Feb 17, 2022, at 5:53 PM, Randy Presuhn <randy_presuhn@alumni.stanford.edu<mailto:randy_presuhn@alumni.stanford.edu>> wrote:

Hi -

On 2022-02-17 1:01 PM, SADOVNIKOV, ALEXEI wrote:
Randy,
I definitively see that point, and the line of sparing usage can be somewhat subjective.
In this case, I think use of “MUST” is justified RFC 2119 “actually required for interoperation or to limit behavior which has potential for causing harm”.
Missing “MUST” statement does leave it open for interpretation, and

That is simply not true.  The existing text, e.g. "If the container
defines RPC or action input or output parameters, these subelements
are encoded in the same order as they are defined within the
'container' statement"  leaves no room whatsoever for interpretation.

misinterpretation will result in harm – XML payload which encapsulated without following these ordering rule can be rejected during decapsulation which does follow the rule.  The XML payload is exchanged between client and server, often different implementations, hence different interpretation by different developers will lead to communication failure.

The existing text is unambiguous, and provides no options in ordering.

As such, I do not see how proposed errata is at odds with sparing usage provision, when it meets the described reason for usage.
In other sections of this RFC (7.7.8., 7.8.5. and 7.9.5) “MUST” already used for same purpose; it is difficult to see how it is any more important in where ‘MUST’ is used vs to where it is not.
Having said all that, the suggested errata can be reduced to exclude section 7.5.7 and second paragraph of 7.8.5 – in both of this cases the exact meaning can be referred from section 7.14.4 (as long as “MUST” is present in there).  Would that resolve your concern of sparing usage?

Such text-diddling seems utterly pointless to me.

Randy

--------------------
Best regards,
*Alexei Sadovnikov*
Principal System Architect
Business Solutions
AT&T Business
*AT&T Services, Inc.*
550 Cochituate Road, Framingham, MA 01701
m  781.249.1516 |  o  781.249.1516 | _as549r@att.com<mailto:_as549r@att.com> <mailto:as549r@att.com>_<mailto:as549r@att.com%3e_>
This e-mail and any files transmitted with it are AT&T property, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s),  or otherwise have reason to believe that you have received this message in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.
*From: *Randy Presuhn <randy_presuhn@alumni.stanford.edu<mailto:randy_presuhn@alumni.stanford.edu>>
*Date: *Thursday, February 17, 2022 at 2:55 PM
*To: *RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>, "mbj@tail-f.com<mailto:mbj@tail-f.com>" <mbj@tail-f.com<mailto:mbj@tail-f.com>>, "warren@kumari.net<mailto:warren@kumari.net>" <warren@kumari.net<mailto:warren@kumari.net>>, "rwilton@cisco.com<mailto:rwilton@cisco.com>" <rwilton@cisco.com<mailto:rwilton@cisco.com>>, "joelja@bogus.com<mailto:joelja@bogus.com>" <joelja@bogus.com<mailto:joelja@bogus.com>>, "kent+ietf@watsen.net<mailto:kent+ietf@watsen.net>" <kent+ietf@watsen.net<mailto:kent+ietf@watsen.net>>, "lberger@labn.net<mailto:lberger@labn.net>" <lberger@labn.net<mailto:lberger@labn.net>>
*Cc: *as549r <AS549R@att.com<mailto:AS549R@att.com>>, "netmod@ietf.org<mailto:netmod@ietf.org>" <netmod@ietf.org<mailto:netmod@ietf.org>>
*Subject: *Re: [netmod] [Technical Errata Reported] RFC7950 (6855)
Hi -
This seems like a remarkably pointless change, and arguably
at odds with section 6 of RFC 2119. ("Imperatives of the type
defined in this memo must be used with care and sparingly.")
Randy
On 2022-02-17 10:50 AM, RFC Errata System wrote:
> The following errata report has been submitted for RFC7950,
> "The YANG 1.1 Data Modeling Language".
>
> --------------------------------------
> You may review the report below and at:
> https://urldefense.com/v3/__https://www.rfc-editor.org/errata/eid6855__;!!BhdT!gZbsQDBeTveBJPSYBpHQOJS8wjZSUsguzZ6KwXq4NAiJ1cAOZgcko9_3wb4pLOxeGCFKcQFoi9XajHOG-NeqWtpDMmnMUI4$<https://urldefense.com/v3/__https:/www.rfc-editor.org/errata/eid6855__;!!BhdT!gZbsQDBeTveBJPSYBpHQOJS8wjZSUsguzZ6KwXq4NAiJ1cAOZgcko9_3wb4pLOxeGCFKcQFoi9XajHOG-NeqWtpDMmnMUI4$> <https://urldefense.com/v3/__https:/www.rfc-editor.org/errata/eid6855__;!!BhdT!gZbsQDBeTveBJPSYBpHQOJS8wjZSUsguzZ6KwXq4NAiJ1cAOZgcko9_3wb4pLOxeGCFKcQFoi9XajHOG-NeqWtpDMmnMUI4$>  >
> --------------------------------------
> Type: Technical
> Reported by: Alexei Sadovnikov <as549r@att.com<mailto:as549r@att.com> <mailto:as549r@att.com><mailto:as549r@att.com%3e>>
>
> Section: GLOBAL
>
> Original Text
> -------------
> 7.5.  The "container" Statement
> 7.5.7.  XML Encoding Rules
>
>     A container node is encoded as an XML element.  The element's local
>     name is the container's identifier, and its namespace is the module's
>     XML namespace (see Section 7.1.3).
>
>     The container's child nodes are encoded as subelements to the
>     container element.  If the container defines RPC or action input or
>     output parameters, these subelements are encoded in the same order as
>     they are defined within the "container" statement.  Otherwise, the
>     subelements are encoded in any order.
>
> 7.8. The "list" Statement
> 7.8.5.  XML Encoding Rules
>
>     The list's key nodes are encoded as subelements to the list's
>     identifier element, in the same order as they are defined within the
>     "key" statement.
>
>     The rest of the list's child nodes are encoded as subelements to the
>     list element, after the keys.  If the list defines RPC or action
>     input or output parameters, the subelements are encoded in the same
>     order as they are defined within the "list" statement.  Otherwise,
>     the subelements are encoded in any order.
>     . . . . .
>
> 7.14.  The "rpc" Statement
> 7.14.4.  NETCONF XML Encoding Rules
>
>     . . . . .
>
>     Input parameters are encoded as child XML elements to the rpc node's
>     XML element, in the same order as they are defined within the "input"
>     statement.
>
>     If the RPC operation invocation succeeded and no output parameters
>     are returned, the <rpc-reply> contains a single <ok/> element defined
>     in [RFC6241].  If output parameters are returned, they are encoded as
>     child elements to the <rpc-reply> element defined in [RFC6241], in
>     the same order as they are defined within the "output" statement.
>
>
> 7.15.  The "action" Statement
> 7.15.2.  NETCONF XML Encoding Rules
>
>     . . . . .
>
>     The <action> element contains a hierarchy of nodes that identifies
>     the node in the datastore.  It MUST contain all containers and list
>     nodes in the direct path from the top level down to the list or
>     container containing the action.  For lists, all key leafs MUST also
>     be included.  The innermost container or list contains an XML element
>     that carries the name of the defined action.  Within this element,
>     the input parameters are encoded as child XML elements, in the same
>     order as they are defined within the "input" statement.
>
>     . . . . .
>
>     If the action operation invocation succeeded and no output parameters
>     are returned, the <rpc-reply> contains a single <ok/> element defined
>     in [RFC6241].  If output parameters are returned, they are encoded as
>     child elements to the <rpc-reply> element defined in [RFC6241], in
>     the same order as they are defined within the "output" statement.
>
>
> Corrected Text
> --------------
> 7.5.  The "container" Statement
> 7.5.7.  XML Encoding Rules
>
>     . . . . .
>
>     The container's child nodes are encoded as subelements to the
>     container element.  If the container defines RPC or action input or
>     output parameters, these subelements MUST be encoded in the same
order as
>     they are defined within the "container" statement.  Otherwise, the
>     subelements are encoded in any order.
>
> 7.8. The "list" Statement
> 7.8.5.  XML Encoding Rules
>
>     The list's key nodes MUST be encoded as subelements to the list's
>     identifier element, in the same order as they are defined within the
>     "key" statement.
>
>     The rest of the list's child nodes are encoded as subelements to the
>     list element, after the keys.  If the list defines RPC or action
>     input or output parameters, the subelements MUST be encoded in
the same
>     order as they are defined within the "list" statement.  Otherwise,
>     the subelements are encoded in any order.
>     . . . . .
>
> 7.14.  The "rpc" Statement
> 7.14.4.  NETCONF XML Encoding Rules
>
>     . . . . .
>
>     Input parameters MUST be encoded as child XML elements to the rpc
node's
>     XML element, in the same order as they are defined within the "input"
>     statement.
>
>     If the RPC operation invocation succeeded and no output parameters
>     are returned, the <rpc-reply> contains a single <ok/> element defined
>     in [RFC6241].  If output parameters are returned, they MUST be
encoded as
>     child elements to the <rpc-reply> element defined in [RFC6241], in
>     the same order as they are defined within the "output" statement.
>
>
> 7.15.  The "action" Statement
> 7.15.2.  NETCONF XML Encoding Rules
>
>     . . . . .
>
>     The <action> element contains a hierarchy of nodes that identifies
>     the node in the datastore.  It MUST contain all containers and list
>     nodes in the direct path from the top level down to the list or
>     container containing the action.  For lists, all key leafs MUST also
>     be included.  The innermost container or list contains an XML element
>     that carries the name of the defined action.  Within this element,
>     the input parameters MUST be encoded as child XML elements, in
the same
>     order as they are defined within the "input" statement.
>
>     . . . . .
>
>     If the action operation invocation succeeded and no output parameters
>     are returned, the <rpc-reply> contains a single <ok/> element defined
>     in [RFC6241].  If output parameters are returned, they MUST be
encoded as
>     child elements to the <rpc-reply> element defined in [RFC6241], in
>     the same order as they are defined within the "output" statement.
>
> Notes
> -----
> The RFC 2119 keywords are missing in description of ordering for XML
encoding rules for RPC, actions and references thereto and in additional
instance of list keys encoding.
>
> Although the text of RFC suggests reading this as if "MUST" was
present, without keyword it is open to interpretation if the sentences
actually mean "MUST" or "SHOULD" or may be even "MAY".
>
> In other places discussing ordering, for example 7.7.8., 7.8.5. and
7.9.5. the "MUST" is actually present, hence proposed errata would make
ordering description usage of keywords consistent.
>
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party
> can log in to change the status and edit the report, if necessary.
>
> --------------------------------------
> RFC7950 (draft-ietf-netmod-rfc6020bis-14)
> --------------------------------------
> Title               : The YANG 1.1 Data Modeling Language
> Publication Date    : August 2016
> Author(s)           : M. Bjorklund, Ed.
> Category            : PROPOSED STANDARD
> Source              : Network Modeling
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG
>
> _______________________________________________
> netmod mailing list
> netmod@ietf.org<mailto:netmod@ietf.org> <mailto:netmod@ietf.org>
> https://urldefense.com/v3/__https://www.ietf.org/mailman/listinfo/netmod__;!!BhdT!gZbsQDBeTveBJPSYBpHQOJS8wjZSUsguzZ6KwXq4NAiJ1cAOZgcko9_3wb4pLOxeGCFKcQFoi9XajHOG-NeqWtpD91awGhs$<https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/netmod__;!!BhdT!gZbsQDBeTveBJPSYBpHQOJS8wjZSUsguzZ6KwXq4NAiJ1cAOZgcko9_3wb4pLOxeGCFKcQFoi9XajHOG-NeqWtpD91awGhs$> <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/netmod__;!!BhdT!gZbsQDBeTveBJPSYBpHQOJS8wjZSUsguzZ6KwXq4NAiJ1cAOZgcko9_3wb4pLOxeGCFKcQFoi9XajHOG-NeqWtpD91awGhs$>