Re: [netmod] JSON encoding of "leaf-list" nodes of type identityref

Ladislav Lhotka <ladislav.lhotka@nic.cz> Mon, 11 July 2022 09:01 UTC

Return-Path: <ladislav.lhotka@nic.cz>
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 60878C138FA7 for <netmod@ietfa.amsl.com>; Mon, 11 Jul 2022 02:01:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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
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 wpbktDTUiDUP for <netmod@ietfa.amsl.com>; Mon, 11 Jul 2022 02:01:54 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) (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 A8B0DC13D06E for <netmod@ietf.org>; Mon, 11 Jul 2022 02:01:54 -0700 (PDT)
Received: from [195.113.220.123] (unknown [195.113.220.123]) by mail.nic.cz (Postfix) with ESMTPSA id C22D213FDAB for <netmod@ietf.org>; Mon, 11 Jul 2022 11:01:50 +0200 (CEST)
Message-ID: <132547fc-15f6-3acf-0c3f-c317d35fabfb@nic.cz>
Date: Mon, 11 Jul 2022 11:01:50 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
Content-Language: en-US
To: netmod@ietf.org
References: <501f6338-62b5-8295-bbdb-82505bc7b5cb@mg-soft.si>
From: Ladislav Lhotka <ladislav.lhotka@nic.cz>
In-Reply-To: <501f6338-62b5-8295-bbdb-82505bc7b5cb@mg-soft.si>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.103.6 at mail
X-Virus-Status: Clean
X-Rspamd-Queue-Id: C22D213FDAB
X-Spamd-Bar: --
Authentication-Results: mail.nic.cz; auth=pass smtp.auth=ladislav.lhotka@nic.cz smtp.mailfrom=ladislav.lhotka@nic.cz
X-Spamd-Result: default: False [-2.84 / 99.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2852, ipnet:195.113.0.0/16, country:CZ]; MID_RHS_MATCH_FROM(0.00)[]; BAYES_HAM(-2.74)[98.87%]
X-Rspamd-Server: mail
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/6LLhQmnk0-lDYHrzRQlQ39u37DE>
Subject: Re: [netmod] JSON encoding of "leaf-list" nodes of type identityref
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, 11 Jul 2022 09:01:56 -0000

Hi Jernej,

this is a clear omission, can you please file an erratum?

Thanks, Lada

Dne 11. 07. 22 v 10:57 Jernej Tuljak napsal(a):
> Hi,
> 
> RFC7951, Section 6.8, says this [1]:
> 
>     An "identityref" value is represented as a string -- the name of an
>     identity.  If the identity is defined in a module other than the leaf
>     node containing the identityref value, the namespace-qualified form
>     (Section 4) MUST be used.  Otherwise, both the simple and namespace-
>     qualified forms are permitted.
> 
> This text fails to mention leaf-list nodes. It should probably say:
> 
>     An "identityref" value is represented as a string -- the name of an
>     identity.  If the identity is defined in a module other than the 
> leaf or
>     leaf-list node containing the identityref value, the 
> namespace-qualified
>     form (Section 4) MUST be used.  Otherwise, both the simple and
>     namespace-qualified forms are permitted.
> 
> [1] - https://datatracker.ietf.org/doc/html/rfc7951#section-6.8
> 
> Jernej
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

-- 
Ladislav Lhotka <ladislav.lhotka@nic.cz>
Head, CZ.NIC Labs
PGP Key ID: 0xB8F92B08A9F76C67