Re: [netmod] [Editorial Errata Reported] RFC7317 (4795)

Per Hedeland <per@tail-f.com> Mon, 05 September 2016 10:51 UTC

Return-Path: <per@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 3F2D912B01F for <netmod@ietfa.amsl.com>; Mon, 5 Sep 2016 03:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.409
X-Spam-Level:
X-Spam-Status: No, score=-3.409 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.508, SPF_PASS=-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 PCXIFiCMDzVr for <netmod@ietfa.amsl.com>; Mon, 5 Sep 2016 03:51:09 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id C6ED412B005 for <netmod@ietf.org>; Mon, 5 Sep 2016 03:51:08 -0700 (PDT)
Received: from mars.tail-f.com (unknown [173.38.220.62]) by mail.tail-f.com (Postfix) with ESMTPSA id CDE8E1AE00B6; Mon, 5 Sep 2016 12:51:07 +0200 (CEST)
To: Martin Bjorklund <mbj@tail-f.com>, rfc-editor@rfc-editor.org
References: <20160905102106.76141B803F6@rfc-editor.org> <20160905.123450.89495070171247833.mbj@tail-f.com>
From: Per Hedeland <per@tail-f.com>
Message-ID: <57CD4E1B.1020701@tail-f.com>
Date: Mon, 05 Sep 2016 12:51:07 +0200
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0
MIME-Version: 1.0
In-Reply-To: <20160905.123450.89495070171247833.mbj@tail-f.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/q2fT1zhZ-06Csw2rz_ZUn2TgX2k>
Cc: joelja@bogus.com, kaja_mohideen.rasool@nokia.com, netmod@ietf.org
Subject: Re: [netmod] [Editorial Errata Reported] RFC7317 (4795)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
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: Mon, 05 Sep 2016 10:51:10 -0000

On 2016-09-05 12:34, Martin Bjorklund wrote:
> RFC Errata System <rfc-editor@rfc-editor.org> wrote:
>> The following errata report has been submitted for RFC7317,
>> "A YANG Data Model for System Management".
>>
>> --------------------------------------
>> You may review the report below and at:
>> http://www.rfc-editor.org/errata_search.php?rfc=7317&eid=4795
>>
>> --------------------------------------
>> Type: Editorial
>> Reported by: Kaja Mohideen <kaja_mohideen.rasool@nokia.com>
>>
>> Section: 5
>>
>> Original Text
>> -------------
>> typedef crypt-hash {
>>        type string {
>>          pattern
>>            'RFCORIGINAL_TEXT$.*'
>>          + '|$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
>>          + '|$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
>>          + '|$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
>>        }
>>
>> Corrected Text
>> --------------
>> typedef crypt-hash {
>>   type string {
>>     pattern
>>         '$0$.*'
>>       + '|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
>>       + '|$5$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
>>       + '|$6$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
>>   }
>>   
>>
>> Notes
>> -----
>> Character $ has special meaning in regular expression.
> 
> No, "$" is not special in the regular expression dialect used in YANG
> (XML Schema).

+1. And in fact the suggested change (lost in the above text, but
present in the html version), to use '\$' instead of '$', results in
invalid expressions according the XML Schema spec.

--Per

> /martin
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod
>