Re: [netmod] [Editorial Errata Reported] RFC7950 (5642)

Andy Bierman <andy@yumaworks.com> Thu, 21 February 2019 17:51 UTC

Return-Path: <andy@yumaworks.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 7DFF213100F for <netmod@ietfa.amsl.com>; Thu, 21 Feb 2019 09:51:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20150623.gappssmtp.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 jQ_JXOXIoOn8 for <netmod@ietfa.amsl.com>; Thu, 21 Feb 2019 09:51:00 -0800 (PST)
Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F12F5131070 for <netmod@ietf.org>; Thu, 21 Feb 2019 09:45:45 -0800 (PST)
Received: by mail-lj1-x230.google.com with SMTP id j13-v6so24786820ljc.2 for <netmod@ietf.org>; Thu, 21 Feb 2019 09:45:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WVOOeMM+alrieZNiSGjh+HKZ90eoqCx+u6uyexjkVQo=; b=muVca6bkjYtGs+FWN7p+EnsaN9kK2zdAFhQ1CYg/OdGF4nCPjHj9rt9TV7JpR+hbU7 x+/d+zG39D0RnLEx7mGvWTc50T4n/Cr3KivG6tLT4CbWvycgiDNDNRCv9mO9hK0PFJwp LC4aVjNJyK+IgULd5A4sFKEcApcAYPlHeEvBZ9gF5biaW3+cqcd8HzVEmlLrORXD6Ru4 LcrCytqBT1ghilpVXvBbW5/eAVlHadDwRswZoY46ynYcdEBm7mBFx4jTB0Czmg3CfR7g JhMC8MK++948LZm6E0N+lAd1hEYaDZej24fIyaDnwMeRf/NBCHMAsbjCEuQQd0++GAB3 eRKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WVOOeMM+alrieZNiSGjh+HKZ90eoqCx+u6uyexjkVQo=; b=EVvKycpFmSxc5DsCEQHeyoZv9rE8Ep4ji7u0KNYQUL76y6VKZqmvEgCVSFk71iNFVt 5z2AJOkBzm3ayrtlOS80Me3/GIcwlsHnNy9MHhpOhz6N81FNIXVxz5ysZ0cbOkjhodLC CvX9CGjRZ3Tury31FEsVmg3wUY0gezdyDXEMIHk+s3aQtpPq+pZMDkpoUZ5iqwFJOQwk grHKHLfq+9b7WupBoNBhgDN2FsBvliaxk1UXt5VEDOXZcFB9gfrg4UDUbVfG7dMuU8pS tGA+X8NbpVgQoCQaEnMVaPY9oMVomrJkgHOysIIaniUR+08U0z8kY+huop+60Y3UEX35 OmyQ==
X-Gm-Message-State: AHQUAuaFb/LLiFlfOeX84KTzDp4YYuS95zFOj2OrEVY1X0QgMCgm9yHC G9YLr5Dw5iGaA3GeI6r29wk9riW7C1ZmAB5wIhwUsg==
X-Google-Smtp-Source: AHgI3IZJvT/M/ZA56XgJO44ukIugRAY8zVCqnzG2FnnYrlYkFE7GATQ9PiaP9HLoTcwyQ/yEmQRoY2D5TUHa2SSM0X8=
X-Received: by 2002:a2e:711b:: with SMTP id m27mr19376936ljc.141.1550771139835; Thu, 21 Feb 2019 09:45:39 -0800 (PST)
MIME-Version: 1.0
References: <20190221163919.5196EB81AF4@rfc-editor.org> <20190221.175336.1995849216024607593.mbj@tail-f.com>
In-Reply-To: <20190221.175336.1995849216024607593.mbj@tail-f.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Thu, 21 Feb 2019 09:45:22 -0800
Message-ID: <CABCOCHQMAq-vzANerP3ehY1y9fiiQZKY_S4dEh0qfhO=7bS8hA@mail.gmail.com>
To: Martin Bjorklund <mbj@tail-f.com>
Cc: RFC Editor <rfc-editor@rfc-editor.org>, Ignas Bagdonas <ibagdona@gmail.com>, NetMod WG <netmod@ietf.org>, peter.loborg@ericsson.com, Warren Kumari <warren@kumari.net>
Content-Type: multipart/alternative; boundary="000000000000eb165505826b0a9b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/MhsTOVRTnUcW4PK5aCT18UU3mMI>
Subject: Re: [netmod] [Editorial Errata Reported] RFC7950 (5642)
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: Thu, 21 Feb 2019 17:51:06 -0000

On Thu, Feb 21, 2019 at 8:53 AM Martin Bjorklund <mbj@tail-f.com> wrote:

> RFC Errata System <rfc-editor@rfc-editor.org> 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:
> > http://www.rfc-editor.org/errata/eid5642
> >
> > --------------------------------------
> > Type: Editorial
> > Reported by: Peter Loborg <peter.loborg@ericsson.com>
> >
> > Section: 9.6.4
> >
> > Original Text
> > -------------
> > It takes as an argument a string that is the assigned name.
> >
> > Corrected Text
> > --------------
> > It takes as an argument an unquoted string that is the assigned name.
>
> This is not correct.  The enum argument is not different from any
> other keyword's arguments in YANG.  See e.g. the example in 9.12.4:
>
>        type enumeration {
>          enum "unbounded";
>        }
>
> The following is also legal:
>
>          enum "unb" + 'ounded';
>
>
>

  enum "This is also legal";

9.6.4.  The "enum" Statement

   The "enum" statement, which is a substatement to the "type"
   statement, MUST be present if the type is "enumeration".  It is
   repeatedly used to specify each assigned name of an enumeration type.
   It takes as an argument a string that is the assigned name.  *The
   string MUST NOT be zero-length and MUST NOT have any leading or
   trailing whitespace characters* (any Unicode character with the
   "White_Space" property).  The use of Unicode control codes SHOULD be
   avoided.




> This errata should be rejected.
>
>
>
> /martin
>
>

Andy


>
> >
> > Notes
> > -----
> > Readers are not beeing made aware that careful reading of section 6.1.3
> and the detailed definition of string in section 14 must be consulted.
> > For comming versions of this RFC it would be preferable to use a more
> specialized grammar token for these cases (e.g. unquoted-string).
> >
> > 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
> https://www.ietf.org/mailman/listinfo/netmod
>