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

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Wed, 17 July 2019 10:28 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 0BBF61201C9 for <netmod@ietfa.amsl.com>; Wed, 17 Jul 2019 03:28:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 czQFnPrw9H35 for <netmod@ietfa.amsl.com>; Wed, 17 Jul 2019 03:28:46 -0700 (PDT)
Received: from atlas5.jacobs-university.de (atlas5.jacobs-university.de [212.201.44.20]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BC5AE1201DB for <netmod@ietf.org>; Wed, 17 Jul 2019 03:28:45 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas5.jacobs-university.de (Postfix) with ESMTP id 9E48465C; Wed, 17 Jul 2019 12:28:43 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas5.jacobs-university.de ([10.70.0.198]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10032) with ESMTP id wWQxDmJr5JxN; Wed, 17 Jul 2019 12:28:43 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by atlas5.jacobs-university.de (Postfix) with ESMTPS; Wed, 17 Jul 2019 12:28:43 +0200 (CEST)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by hermes.jacobs-university.de (Postfix) with ESMTP id 8466720130; Wed, 17 Jul 2019 12:28:43 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10028) with ESMTP id SneMWoVMockN; Wed, 17 Jul 2019 12:28:43 +0200 (CEST)
Received: from exchange.jacobs-university.de (sxchmb04.jacobs.jacobs-university.de [10.70.0.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "exchange.jacobs-university.de", Issuer "DFN-Verein Global Issuing CA" (verified OK)) by hermes.jacobs-university.de (Postfix) with ESMTPS id 8A6612012E; Wed, 17 Jul 2019 12:28:42 +0200 (CEST)
Received: from anna.localdomain (10.50.218.117) by sxchmb03.jacobs.jacobs-university.de (10.70.0.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 17 Jul 2019 12:28:41 +0200
Received: by anna.localdomain (Postfix, from userid 501) id E060C2349CF; Wed, 17 Jul 2019 12:28:39 +0200 (CEST)
Date: Wed, 17 Jul 2019 12:28:38 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Qin Wu <bill.wu@huawei.com>
CC: "Rob Wilton (rwilton)" <rwilton@cisco.com>, "ibagdona@gmail.com" <ibagdona@gmail.com>, "warren@kumari.net" <warren@kumari.net>, "netmod@ietf.org" <netmod@ietf.org>, RFC Errata System <rfc-editor@rfc-editor.org>
Message-ID: <20190717102838.alxkpeg4zs2tejjg@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Qin Wu <bill.wu@huawei.com>, "Rob Wilton (rwilton)" <rwilton@cisco.com>, "ibagdona@gmail.com" <ibagdona@gmail.com>, "warren@kumari.net" <warren@kumari.net>, "netmod@ietf.org" <netmod@ietf.org>, RFC Errata System <rfc-editor@rfc-editor.org>
References: <B8F9A780D330094D99AF023C5877DABAA4A009D9@nkgeml513-mbs.china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAA4A009D9@nkgeml513-mbs.china.huawei.com>
User-Agent: NeoMutt/20180716
X-ClientProxiedBy: SXCHMB03.jacobs.jacobs-university.de (10.70.0.155) To sxchmb03.jacobs.jacobs-university.de (10.70.0.155)
X-Clacks-Overhead: GNU Terry Pratchett
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ZCoQb44nO4IHnb1F7FvWzuEhfHE>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (5784)
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: Wed, 17 Jul 2019 10:28:49 -0000

The text starts with the general case and says "Leading and trailing
zeros are prohibited", which seems to cover 0.50000000 (which must be
represented as 0.5.

/js

On Wed, Jul 17, 2019 at 09:42:38AM +0000, Qin Wu wrote:
> I realized my proposed changes also have some flaw and may need to be tweaked.
> 
> My question is should trailing zeros in “0.50000” be allowed? I didn’t see the original text prohibit this.
> Yes, the original text is correct, but it excludes some exception cases, such as “0.500000000”, if my understanding is correct.
> 发件人: Rob Wilton (rwilton) [mailto:rwilton@cisco.com]
> 发送时间: 2019年7月17日 17:20
> 收件人: Qin Wu <bill.wu@huawei.com>; Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> 抄送: ibagdona@gmail.com; warren@kumari.net; netmod@ietf.org; RFC Errata System <rfc-editor@rfc-editor.org>
> 主题: RE: [netmod] 答复: [Technical Errata Reported] RFC7950 (5784)
> 
> Hi Qin,
> 
> I also find the current RFC text quite understandable and correct.
> 
> The “and” is required to disallow “.0” and “0.” as valid canonical forms.  I.e. in the canonical form there MUST always be at least one digit (which could be 0) before the decimal point and then must be at least one digit (which could be 0) after the decimal point.  Otherwise, there must be no leading or trailing 0’s.  So, none of  “.0”, “0.”, “00.0”, “0.00” and “00.00” are in the canonical form, and should be represented as “0.0” instead; similarly none of “.1”, “1.”, “01.0”, “1.00” and “01.00” are in the canonical form and should be represented as “1.0” instead.
> 
> Thanks,
> Rob
> 
> 
> From: netmod <netmod-bounces@ietf.org<mailto:netmod-bounces@ietf.org>> On Behalf Of Qin Wu
> Sent: 17 July 2019 09:59
> To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de<mailto:j.schoenwaelder@jacobs-university.de>>
> Cc: ibagdona@gmail.com<mailto:ibagdona@gmail.com>; warren@kumari.net<mailto:warren@kumari.net>; netmod@ietf.org<mailto:netmod@ietf.org>; RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
> Subject: [netmod] 答复: [Technical Errata Reported] RFC7950 (5784)
> 
> 
> Understand, the problem lies at "and" that is used in " one digit before and after the decimal point ", that is to say it only focus on the case that has two digits, one is before decimal point, the other digit is after decimal such as "5.06", but doesn't cover the case where "one digit before or after the decimal point ", that’s why I think the case 0.500000 is not covered. We should prohibit trailing zeros in “0.5000000”.
> 
> -----邮件原件-----
> 发件人: Juergen Schoenwaelder [mailto:j.schoenwaelder@jacobs-university.de]
> 发送时间: 2019年7月17日 16:46
> 收件人: Qin Wu <bill.wu@huawei.com<mailto:bill.wu@huawei.com>>
> 抄送: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>; ibagdona@gmail.com<mailto:ibagdona@gmail.com>; netmod@ietf.org<mailto:netmod@ietf.org>; warren@kumari.net<mailto:warren@kumari.net>
> 主题: Re: [netmod] [Technical Errata Reported] RFC7950 (5784)
> 
> 
> 
> The text starts with the general case and says "Leading and trailing zeros are prohibited", which seems to cover 0.50000000. The text then handles the special rule that there needs to be at least one digit before and after the decimal point. I think all is fine.
> 
> 
> 
> /js
> 
> 
> 
> On Wed, Jul 17, 2019 at 08:11:41AM +0000, Qin Wu wrote:
> 
> > What about "0.50000000"? based on original text, is it legal or illegal?
> 
> > It seem original text exclude the case where one digit before or after the decimal point?
> 
> >
> 
> > -Qin
> 
> > -----邮件原件-----
> 
> > 发件人: netmod [mailto:netmod-bounces@ietf.org] 代表 Juergen Schoenwaelder
> 
> > 发送时间: 2019年7月17日 15:50
> 
> > 收件人: RFC Errata System <rfc-editor@rfc-editor.org<mailto:rfc-editor@rfc-editor.org>>
> 
> > 抄送: ibagdona@gmail.com<mailto:ibagdona@gmail.com>; netmod@ietf.org<mailto:netmod@ietf.org>; warren@kumari.net<mailto:warren@kumari.net>
> 
> > 主题: Re: [netmod] [Technical Errata Reported] RFC7950 (5784)
> 
> >
> 
> > I do not see why the original text makes 0.5 or 0.0 illegal.
> 
> >
> 
> > /js
> 
> >
> 
> > On Tue, Jul 16, 2019 at 08:52:52PM -0700, 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://www.rfc-editor.org/errata/eid5784
> 
> > >
> 
> > > --------------------------------------
> 
> > > Type: Technical
> 
> > > Reported by: Qin WU <bill.wu@huawei.com<mailto:bill.wu@huawei.com>>
> 
> > >
> 
> > > Section: 9.3.2
> 
> > >
> 
> > > Original Text
> 
> > > -------------
> 
> > > Leading and trailing zeros are prohibited, subject to the rule that
> 
> > > there MUST be at least one digit before and after the decimal point.
> 
> > > The value zero is represented as "0.0".
> 
> > >
> 
> > >
> 
> > >
> 
> > >
> 
> > > Corrected Text
> 
> > > --------------
> 
> > > Leading zeros before the first digit and trailing zeros after the
> 
> > > last digit are prohibited, subject to the rule that there MUST be at
> 
> > > least one digit before and after the decimal point.  The value zero
> 
> > > is represented as "0.0".
> 
> > >
> 
> > > Notes
> 
> > > -----
> 
> > > Based on the rule in the orginal text, the value such as "0.5","0.0" is illegal. So I think the intention of the original text is to make sure the leading zeros before the first digit and the trailing zero after the last digit are prohibited.
> 
> > >
> 
> > > 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>
> 
> > > https://www.ietf.org/mailman/listinfo/netmod
> 
> >
> 
> > --
> 
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> 
> > Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> 
> > Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>
> 
> >
> 
> > _______________________________________________
> 
> > netmod mailing list
> 
> > netmod@ietf.org<mailto:netmod@ietf.org>
> 
> > https://www.ietf.org/mailman/listinfo/netmod
> 
> 
> 
> --
> 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> 
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> 
> Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>