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

Jernej Tuljak <jernej.tuljak@mg-soft.si> Mon, 24 September 2012 06:21 UTC

Return-Path: <jernej.tuljak@mg-soft.si>
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 7644F21F8587 for <netmod@ietfa.amsl.com>; Sun, 23 Sep 2012 23:21:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=0.151, BAYES_00=-2.599]
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 llZFXIl+M8OU for <netmod@ietfa.amsl.com>; Sun, 23 Sep 2012 23:21:18 -0700 (PDT)
Received: from gate.mg-soft.si (gate.mg-soft.si [212.30.73.66]) by ietfa.amsl.com (Postfix) with ESMTP id 7127A21F8555 for <netmod@ietf.org>; Sun, 23 Sep 2012 23:21:18 -0700 (PDT)
Received: from [10.0.0.222] (tp-x61t.mg-soft.si [10.0.0.222]) by gate.mg-soft.si (8.13.8/8.13.8) with ESMTP id q8O6L9ge028348; Mon, 24 Sep 2012 08:21:10 +0200
Message-ID: <505FFBD5.5060808@mg-soft.com>
Date: Mon, 24 Sep 2012 08:21:09 +0200
From: Jernej Tuljak <jernej.tuljak@mg-soft.si>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: Ladislav Lhotka <ladislav@lhotka.name>
References: <20120921154850.6A92C72E038@rfc-editor.org> <18308163-4F9F-4545-8C38-0CAD86685B20@lhotka.name>
In-Reply-To: <18308163-4F9F-4545-8C38-0CAD86685B20@lhotka.name>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: netmod@ietf.org, lhotka@cesnet.cz, rbonica@juniper.net, RFC Errata System <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 06:21:19 -0000

Hi,

actually the notes section of my errata contains a typo. Cardinality of 
unique-stmt is 0..n (not 0..1). That should be corrected.

Jernej

Dne 21.9.2012 18:04, piše Ladislav Lhotka:
> Hi,
>
> this erratum should be verified, the reporter is absolutely right.
>
> 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
>
>
>
>