Re: [netmod] [Technical Errata Reported] RFC6110 (3362)

Martin Bjorklund <mbj@tail-f.com> Mon, 24 September 2012 08:34 UTC

Return-Path: <mbj@tail-f.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 1184821F85A4 for <netmod@ietfa.amsl.com>; Mon, 24 Sep 2012 01:34:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.013
X-Spam-Level:
X-Spam-Status: No, score=-2.013 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BpJiN2dVoRaA for <netmod@ietfa.amsl.com>; Mon, 24 Sep 2012 01:34:36 -0700 (PDT)
Received: from mail.tail-f.com (de-2007.d.ipeer.se [213.180.74.102]) by ietfa.amsl.com (Postfix) with ESMTP id 1474321F859B for <netmod@ietf.org>; Mon, 24 Sep 2012 01:34:36 -0700 (PDT)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 480CC1200048; Mon, 24 Sep 2012 10:34:34 +0200 (CEST)
Date: Mon, 24 Sep 2012 10:34:34 +0200
Message-Id: <20120924.103434.156371276890823415.mbj@tail-f.com>
To: ladislav@lhotka.name
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <18308163-4F9F-4545-8C38-0CAD86685B20@lhotka.name>
References: <20120921154850.6A92C72E038@rfc-editor.org> <18308163-4F9F-4545-8C38-0CAD86685B20@lhotka.name>
X-Mailer: Mew version 6.4 on Emacs 23.3 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Cc: rbonica@juniper.net, lhotka@cesnet.cz, jernej.tuljak@mg-soft.com, netmod@ietf.org, rfc-editor@rfc-editor.org
Subject: Re: [netmod] [Technical Errata Reported] RFC6110 (3362)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 24 Sep 2012 08:34:37 -0000

Ladislav Lhotka <ladislav@lhotka.name> wrote:
> Hi,
> 
> this erratum should be verified, the reporter is absolutely right.

If I am not mistaken, this errata changes the encoding of "unique"
from an XML attribute to an XML element.  Can we really make such
changes in an errata?


/martin




> 
> Ladislav Lhotka, editor of RFC 6110
>  
> On Sep 21, 2012, at 5:48 PM, RFC Errata System <rfc-editor@rfc-editor.org> wrote:
> 
> > 
> > The following errata report has been submitted for RFC6110,
> > "Mapping YANG to Document Schema Definition Languages and Validating NETCONF Content".
> > 
> > --------------------------------------
> > You may review the report below and at:
> > http://www.rfc-editor.org/errata_search.php?rfc=6110&eid=3362
> > 
> > --------------------------------------
> > Type: Technical
> > Reported by: Jernej Tuljak <jernej.tuljak@mg-soft.com>
> > 
> > Section: 10.55.
> > 
> > Original Text
> > -------------
> > The 'unique' Statement
> > 
> >   This statement is mapped to the @nma:unique attribute.  ARGUMENT MUST
> >   be translated so that every node identifier in each of its components
> >   is prefixed with the namespace prefix of the local module, unless the
> >   prefix is already present.  The result of this translation then
> >   becomes the value of the @nma:unique attribute.
> > 
> >   For example, assuming that the local module prefix is "ex",
> > 
> >   unique "foo ex:bar/baz"
> > 
> >   is mapped to the following attribute/value pair:
> > 
> >   nma:unique="ex:foo ex:bar/ex:baz"
> > 
> > Corrected Text
> > --------------
> > The 'unique' Statement
> > 
> >   This statement is mapped to the <nma:unique> element. It has one
> >   mandatory attribute @key (with no namespace). ARGUMENT MUST
> >   be translated so that every node identifier in each of its components
> >   is prefixed with the namespace prefix of the local module, unless the
> >   prefix is already present.  The result of this translation then
> >   becomes the value of the @key attribute.
> > 
> >   For example, assuming that the local module prefix is "ex",
> > 
> >   unique "foo ex:bar/baz"
> > 
> >   is mapped to the following element:
> > 
> >   <nma:unique key="ex:foo ex:bar/ex:baz" />
> > 
> > Notes
> > -----
> > A list's unique-stmt has a cardinality of 0..1. Therefore it cannot be mapped into a single @nma:unique attribute. It should be mapped into an element instead, much like the must-stmt. Additional changes may be required throughout the document.
> > 
> > Instructions:
> > -------------
> > This errata 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 (IESG)
> > can log in to change the status and edit the report, if necessary. 
> > 
> > --------------------------------------
> > RFC6110 (draft-ietf-netmod-dsdl-map-10)
> > --------------------------------------
> > Title               : Mapping YANG to Document Schema Definition Languages and Validating NETCONF Content
> > Publication Date    : February 2011
> > Author(s)           : L. Lhotka, Ed.
> > Category            : PROPOSED STANDARD
> > Source              : NETCONF Data Modeling Language
> > Area                : Operations and Management
> > Stream              : IETF
> > Verifying Party     : IESG
> 
> --
> Ladislav Lhotka
> PGP Key ID: E74E8C0C
> 
> 
> 
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>