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

"Rob Wilton (rwilton)" <rwilton@cisco.com> Wed, 17 July 2019 09:20 UTC

Return-Path: <rwilton@cisco.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 2E621120640 for <netmod@ietfa.amsl.com>; Wed, 17 Jul 2019 02:20:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.489
X-Spam-Level:
X-Spam-Status: No, score=-14.489 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=D8juqPea; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=orQg8xQ5
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 uilHu2bI5hWd for <netmod@ietfa.amsl.com>; Wed, 17 Jul 2019 02:20:01 -0700 (PDT)
Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7B51812063D for <netmod@ietf.org>; Wed, 17 Jul 2019 02:20:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=48238; q=dns/txt; s=iport; t=1563355201; x=1564564801; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=G96dFf82DC+2QcXG9Mszv91Qxv1+DeYerrx9zExjnUE=; b=D8juqPeaTDGtmVZhzxgTCu/MEAmjhTnZyL5FjtCnB4Ok29MlFlEFrFaS /Aui+Azc1l5C0rI88wj1mwWqaqrRrCrHzP2L25KOiKVz4oXIHFdbS+mBg B8XPlL0WQtJG24VaVxkzm7UnkARVTogToYHclKY/rzn5JH5kDtgQZOXKa U=;
IronPort-PHdr: =?us-ascii?q?9a23=3ATD85ZBMDkRZMZBhnbEol6mtXPHoupqn0MwgJ65?= =?us-ascii?q?Eul7NJdOG58o//OFDEu60/l0fHCIPc7f8My/HbtaztQyQh2d6AqzhDFf4ETB?= =?us-ascii?q?oZkYMTlg0kDtSCDBjhM//ucys8NM9DT1RiuXq8NBsdFQ=3D=3D?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AJAADJ5y5d/5FdJa1jAxkBAQEBAQE?= =?us-ascii?q?BAQEBAQEHAQEBAQEBgVQDAQEBAQELAYEUL1ADbVUgBAsqCoQSg0cDjgKCW4l?= =?us-ascii?q?UjXyBLoEkA1AECQEBAQwBARgBCgoCAQGDekYCF4ItIzUIDgEDAQEEAQECAQV?= =?us-ascii?q?thTwMhUoBAQEBAgEBARARChMBASwLAQQJAgIBBgIOAgEEAQEhAQYDAgICGQY?= =?us-ascii?q?GCxQGAwgCBAENBQgagwGBHU0DDg8BAgyRDJBgAoE4iGBxgTKCeQEBBYUPDQu?= =?us-ascii?q?CEwMGBYEvAYteF4FAP4ERRoJMPoEEgRZHAQGBYxUKDAkRgkQygiaMJiaCLIR?= =?us-ascii?q?+gi2UBEAJAoIZkBiED4IthyWOOIMlihCJPYsggnMCBAIEBQIOAQEFgVIBNYF?= =?us-ascii?q?YcBUaIYJsgkFSgx8zhGGFP3KBKYtsAYEgAQE?=
X-IronPort-AV: E=Sophos;i="5.64,273,1559520000"; d="scan'208,217";a="511369499"
Received: from rcdn-core-9.cisco.com ([173.37.93.145]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 17 Jul 2019 09:19:59 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by rcdn-core-9.cisco.com (8.15.2/8.15.2) with ESMTPS id x6H9JxFf018697 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 17 Jul 2019 09:19:59 GMT
Received: from xhs-aln-003.cisco.com (173.37.135.120) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 17 Jul 2019 04:19:59 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 17 Jul 2019 04:19:58 -0500
Received: from NAM05-DM3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 17 Jul 2019 04:19:58 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hOojFQH/vSeLombo52t71QOGVm33bskyHPsM3Kncv3nFQOPsUQaEqRidCE330xj7b/b1yhQXSKb3yuw+9MA7Z8KFTGddIhAqCgACe/dMDCrzn5CAKXYjxwlmPLiVU92T2KDPGqAknNpORkhchukMDZ9TVHZx+V2aGXJRok99udwKP2eTWp22YATymKrYv/Znw1XPmmuMKpl5j2xSM+5rr1nnP1mF4iB7X4whfpKqbP14rlZDKmOvhV8qlAIDQ8L35HWJB4LW8JRSPLKUvPNUMKDjvop6AZvnYgswNL/eEViOzJIBIkmGpL9RbOJE+f4gGY55BsIRM3MUXXszWH8vqw==
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-SenderADCheck; bh=G96dFf82DC+2QcXG9Mszv91Qxv1+DeYerrx9zExjnUE=; b=EibdVuulvQoSFx09geGe2XnqvM1+0y+VlUi5KpxjHHobmVBpPX7gh5xXLoR3sLd1/8JOk4lxmkN18mkh3wDtYftQkFRKwD+ty7jZF/eiq99JuL7TFvALp0X94uDbPImpHnlNreheX9jawlSc/Ec/297gAr4TZMxMjua8ywTEbSA8wtsoxjD+DLNGN1fUnAilX6RFXoiMb4bJfpQDNx5jgyigW+ZTQYdDSoWp6d2LA+vhuTANmfFYf6ZZrfEoc//XWmfNCbwjL776bl9ZqsuY8ZVSbJ6QXCD2EMqwAHEgiX4YmcjzE1A/T0phkacL3iEJ/YGcxJwrzwhcCo5n5mdS0w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cisco.com;dmarc=pass action=none header.from=cisco.com;dkim=pass header.d=cisco.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=G96dFf82DC+2QcXG9Mszv91Qxv1+DeYerrx9zExjnUE=; b=orQg8xQ5gX1RmICfdCaRhcH3d6JHl6gV0lhySpZh4uhjQ5XThG+0gZKD4ds++TBDEpHshuwvqyjgZY/EFhRrK+tQNXPnEFgVUEqaJwB9WtctMbkSfVWfFIHyee08Y5FwtZ/FiBuQ3IRkUgi3OTlHahdp66t2+f6Z+yZofVRwK+0=
Received: from BYAPR11MB2631.namprd11.prod.outlook.com (52.135.227.28) by BYAPR11MB3432.namprd11.prod.outlook.com (20.177.226.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Wed, 17 Jul 2019 09:19:57 +0000
Received: from BYAPR11MB2631.namprd11.prod.outlook.com ([fe80::91da:1669:aaf0:d428]) by BYAPR11MB2631.namprd11.prod.outlook.com ([fe80::91da:1669:aaf0:d428%4]) with mapi id 15.20.2073.012; Wed, 17 Jul 2019 09:19:57 +0000
From: "Rob Wilton (rwilton)" <rwilton@cisco.com>
To: Qin Wu <bill.wu@huawei.com>, Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
CC: "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>
Thread-Topic: =?utf-8?B?W25ldG1vZF0g562U5aSNOiAgW1RlY2huaWNhbCBFcnJhdGEgUmVwb3J0ZWRd?= =?utf-8?Q?_RFC7950_(5784)?=
Thread-Index: AQHVPH4rGLUpJmgvzU+QrPgNY0zA86bOhPSw
Date: Wed, 17 Jul 2019 09:19:57 +0000
Message-ID: <BYAPR11MB2631065E176E50E510A98C14B5C90@BYAPR11MB2631.namprd11.prod.outlook.com>
References: <B8F9A780D330094D99AF023C5877DABAA4A008D7@nkgeml513-mbs.china.huawei.com> <20190717084556.mq5w5jrjvnmfebh6@anna.jacobs.jacobs-university.de> <B8F9A780D330094D99AF023C5877DABAA4A0096F@nkgeml513-mbs.china.huawei.com>
In-Reply-To: <B8F9A780D330094D99AF023C5877DABAA4A0096F@nkgeml513-mbs.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=rwilton@cisco.com;
x-originating-ip: [173.38.220.36]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0bb0e70c-21c2-4b28-9e9c-08d70a97efd1
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR11MB3432;
x-ms-traffictypediagnostic: BYAPR11MB3432:
x-ms-exchange-purlcount: 5
x-microsoft-antispam-prvs: <BYAPR11MB3432DBA908ED685B40865B29B5C90@BYAPR11MB3432.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01018CB5B3
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(136003)(346002)(366004)(376002)(199004)(189003)(3846002)(316002)(6116002)(790700001)(26005)(186003)(102836004)(110136005)(64756008)(11346002)(446003)(5660300002)(486006)(256004)(54906003)(66946007)(66476007)(53936002)(53546011)(66446008)(66556008)(25786009)(76116006)(2906002)(9686003)(476003)(66066001)(478600001)(606006)(68736007)(6306002)(6436002)(54896002)(224303003)(55016002)(81166006)(99286004)(229853002)(6506007)(7696005)(14454004)(86362001)(7736002)(81156014)(966005)(6246003)(4326008)(33656002)(52536014)(9326002)(8936002)(71190400001)(71200400001)(76176011)(74316002)(236005); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR11MB3432; H:BYAPR11MB2631.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: jwcFPoZd59VqJHGmri/UaHBnjWHDfPLtr2J8v3ys5g4Pj+1voy/WfWof7NSifEkIzeXiF4lAHRq8vXJO08AcXuKufoJm24vEL713sAylYAuaeUC5M+e3JFIHH08uLyJlQfvzfpUyf1q+CyTNk+ZLAphUcPlFN5/uKDgC6JpvmZYVH0nhVYpJ9zzG5/Vvby/VzXoKvKxm3beYWF7pSe1l/bAfqOit1OAiu2hqIurPaCYrg7bvbu1xX6HrrFsyFa8KZ5CFmMZCEMy08lrFrZpEen1zd+HCLZoHklDAIDyIU5uR2CR2MnyiK/s0QWQ/J7KFQvlBaHyCyZU2eAsbUgNIwL6IL3+l9mjgrPZmhQqwp+BlPnCur+3Z2OoW7AaeuxRmywlz3AOBRGQJaa8c2lpRe/BB2ztKiMJFAU5nD/Xo+T0=
Content-Type: multipart/alternative; boundary="_000_BYAPR11MB2631065E176E50E510A98C14B5C90BYAPR11MB2631namp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 0bb0e70c-21c2-4b28-9e9c-08d70a97efd1
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2019 09:19:57.4447 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: rwilton@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3432
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.13, xch-aln-003.cisco.com
X-Outbound-Node: rcdn-core-9.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/nN2z3hYYsD4BNRPJAJwop2CFIA4>
Subject: Re: [netmod] =?utf-8?b?562U5aSNOiAgW1RlY2huaWNhbCBFcnJhdGEgUmVwb3J0?= =?utf-8?q?ed=5D_RFC7950_=285784=29?=
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 09:20:07 -0000

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> On Behalf Of Qin Wu
Sent: 17 July 2019 09:59
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Cc: ibagdona@gmail.com; warren@kumari.net; netmod@ietf.org; RFC Errata System <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/>