Re: [netmod] YANG 1.1 bug fix last call (was YANG 1.1: XML naming restriction)

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Thu, 25 August 2016 07:19 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
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 7ACC612D1A5 for <netmod@ietfa.amsl.com>; Thu, 25 Aug 2016 00:19:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.748
X-Spam-Level:
X-Spam-Status: No, score=-4.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.548] 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 JhGPRvapj-NK for <netmod@ietfa.amsl.com>; Thu, 25 Aug 2016 00:19:31 -0700 (PDT)
Received: from atlas3.jacobs-university.de (atlas3.jacobs-university.de [212.201.44.18]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E05612D61D for <netmod@ietf.org>; Thu, 25 Aug 2016 00:19:31 -0700 (PDT)
Received: from localhost (demetrius5.irc-it.jacobs-university.de [10.70.0.222]) by atlas3.jacobs-university.de (Postfix) with ESMTP id A5AEDEF6 for <netmod@ietf.org>; Thu, 25 Aug 2016 09:19:29 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from atlas3.jacobs-university.de ([10.70.0.205]) by localhost (demetrius5.jacobs-university.de [10.70.0.222]) (amavisd-new, port 10030) with ESMTP id 9E2SXmoAfRNa for <netmod@ietf.org>; Thu, 25 Aug 2016 09:19:12 +0200 (CEST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hermes.jacobs-university.de", Issuer "Jacobs University CA - G01" (verified OK)) by atlas3.jacobs-university.de (Postfix) with ESMTPS for <netmod@ietf.org>; Thu, 25 Aug 2016 09:19:27 +0200 (CEST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 794FB200AC for <netmod@ietf.org>; Thu, 25 Aug 2016 09:19:27 +0200 (CEST)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id KiUX35rZ4Tiu; Thu, 25 Aug 2016 09:19:26 +0200 (CEST)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id D39DF200AB; Thu, 25 Aug 2016 09:19:25 +0200 (CEST)
Received: by elstar.local (Postfix, from userid 501) id D5B8B3C322B4; Thu, 25 Aug 2016 09:19:24 +0200 (CEST)
Date: Thu, 25 Aug 2016 09:19:23 +0200
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: netmod@ietf.org
Message-ID: <20160825071923.GA18414@elstar.local>
Mail-Followup-To: netmod@ietf.org
References: <20160818100201.GA4794@elstar.local>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20160818100201.GA4794@elstar.local>
User-Agent: Mutt/1.6.0 (2016-04-01)
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/wNWvdZTcclhg4tHzHoWcNlPYNdY>
Subject: Re: [netmod] YANG 1.1 bug fix last call (was YANG 1.1: XML naming restriction)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
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, 25 Aug 2016 07:19:33 -0000

Hi,

since nobody raised any concerns, we will make the change to align
YANG 1.1 with XML 1.0 5th edition (including the yang-identifier
example update mentioned in a subsequent post by Martin).

/js

On Thu, Aug 18, 2016 at 12:02:01PM +0200, Juergen Schoenwaelder wrote:
> Hi,
> 
> as discussed in the thread 'YANG 1.1: XML naming restriction', it
> seems that the restriction that identifiers may not start with "xml"
> is not necessary according to XML 1.0 (5th edition). In addition, it
> seems the YANG 1.1 specification should have an explicit normative
> reference to the XML specification it is based on. The suggested
> document changes are detailed below (thanks to Martin for writing this
> up). Please let the WG know by August 24th if you object against
> implementing this change before YANG 1.1 is published.
> 
> /js (with my RFC6020bis document shepherd hat on)
> 
> Section 1:
> 
> OLD:
> 
>    This document describes the syntax and semantics of version 1.1 of
>    the YANG language.  It also describes how a data model defined in a
>    YANG module is encoded in the Extensible Markup Language (XML), and
> 
> NEW:
> 
>    This document describes the syntax and semantics of version 1.1 of
>    the YANG language.  It also describes how a data model defined in a
>    YANG module is encoded in the Extensible Markup Language (XML)
>    [XML], and
> 
> 
> Section 1.1:
> 
> OLD:
> 
>    o  Allow type empty in a key.
> 
>    The following changes have been done to the NETCONF mapping:
> 
> NEW:
> 
>    o  Allow type empty in a key.
> 
>    o  Removed the restriction that identifiers could not start with
>       the characters "xml".
> 
>    The following changes have been done to the NETCONF mapping:
> 
> 
> Section 14:
> 
> OLD:
> 
>    ;; An identifier MUST NOT start with (('X'|'x') ('M'|'m') ('L'|'l'))
>    identifier          = (ALPHA / "_")
>                          *(ALPHA / DIGIT / "_" / "-" / ".")
> 
> NEW:
> 
>    identifier          = (ALPHA / "_")
>                          *(ALPHA / DIGIT / "_" / "-" / ".")
> 
> 
> Section 21.1:
> 
> NEW:
> 
>    [XML]      Bray, T., Paoli, J., Sperberg-McQueen, M., Maler, E., and
>               F. Yergeau, "Extensible Markup Language (XML) 1.0 (Fifth
>               Edition)", World Wide Web Consortium Recommendation REC-
>               xml-20081126, November 2008,
>               <http://www.w3.org/TR/2008/REC-xml-20081126>.
> 
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>