Re: [netmod] AD review of draft-ietf-netmod-system-mgmt

Martin Bjorklund <mbj@tail-f.com> Fri, 13 December 2013 07:22 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0D401AE18D for <netmod@ietfa.amsl.com>; Thu, 12 Dec 2013 23:22:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 oek0CCW82epg for <netmod@ietfa.amsl.com>; Thu, 12 Dec 2013 23:22:34 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [109.74.15.94]) by ietfa.amsl.com (Postfix) with ESMTP id BE0691AE12A for <netmod@ietf.org>; Thu, 12 Dec 2013 23:22:33 -0800 (PST)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id CA74337C041; Fri, 13 Dec 2013 08:22:25 +0100 (CET)
Date: Fri, 13 Dec 2013 08:22:25 +0100
Message-Id: <20131213.082225.2137464918470103242.mbj@tail-f.com>
To: randy_presuhn@mindspring.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <7884374.1386891899108.JavaMail.root@elwamui-milano.atl.sa.earthlink.net>
References: <7884374.1386891899108.JavaMail.root@elwamui-milano.atl.sa.earthlink.net>
X-Mailer: Mew version 6.5rc2 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Cc: netmod@ietf.org
Subject: Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 13 Dec 2013 07:22:39 -0000
X-List-Received-Date: Fri, 13 Dec 2013 07:22:39 -0000

Randy Presuhn <randy_presuhn@mindspring.com> wrote:
> Hi -
> 
> >From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
> >Sent: Dec 12, 2013 3:52 AM
> >To: Randy Presuhn <randy_presuhn@mindspring.com>, h@elstar.local
> >Cc: netmod@ietf.org
> >Subject: Re: [netmod] AD review of draft-ietf-netmod-system-mgmt
> >
> >On Thu, Dec 12, 2013 at 12:42:57AM -0800, Randy Presuhn wrote:
> >>
> >> >    o  An implementation MUST allow any legal "string" (YANG string).
> >> 
> >> There are good reasons to restrict formatting and control characters -
> >> I'll assume YANG strings do this already.  If not, that's another long
> >> discussion.
> >
> >RFC 6020 says:
> >
> >   The string built-in type represents human-readable strings in YANG.
> >   Legal characters are tab, carriage return, line feed, and the legal
> >   characters of Unicode and ISO/IEC 10646 [ISO.10646]:
> >
> >     ;; any Unicode character, excluding the surrogate blocks,
> >     ;; FFFE, and FFFF.
> >     string = *char
> >     char = %x9 / %xA / %xD / %x20-D7FF / %xE000-FFFD /
> >            %x10000-10FFFF
> >
> >And so far, we have used these strings without further restrictions in
> >data models when there was something to be named.
> 
> Very odd.  It restricts the C0 controls, but permits the C1
> control codes?  I hope someone thought that through carefully.

It is what XML Schema 1.0 says is a string.  See
http://www.w3.org/TR/xmlschema-2/#string and the reference to
http://www.w3.org/TR/2000/WD-xml-2e-20000814#NT-Char


/martin