Re: [NGO] NETCONF Data Modeling BoF (NDM) proposal

Ladislav Lhotka <lhotka@cesnet.cz> Thu, 13 September 2007 12:54 UTC

Return-path: <ngo-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IVoDR-0006mh-Ur; Thu, 13 Sep 2007 08:54:41 -0400
Received: from ngo by megatron.ietf.org with local (Exim 4.43) id 1IVoDR-0006mY-5E for ngo-confirm+ok@megatron.ietf.org; Thu, 13 Sep 2007 08:54:41 -0400
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IVoDQ-0006mO-RB for ngo@ietf.org; Thu, 13 Sep 2007 08:54:40 -0400
Received: from office2.cesnet.cz ([195.113.144.244]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1IVoDQ-0004et-DY for ngo@ietf.org; Thu, 13 Sep 2007 08:54:40 -0400
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 8BEDFD80098 for <ngo@ietf.org>; Thu, 13 Sep 2007 14:54:39 +0200 (CEST)
Subject: Re: [NGO] NETCONF Data Modeling BoF (NDM) proposal
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: ngo@ietf.org
In-Reply-To: <034101c7f5f3$90c16540$0601a8c0@pc6>
References: <FCC7D7D1DB94054EB491EED9D274727D030FB6@wabex2.sharpamericas.com> <034101c7f5f3$90c16540$0601a8c0@pc6>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Thu, 13 Sep 2007 14:54:38 +0200
Message-Id: <1189688078.382.20.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.10.1
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Scan-Signature: e1e48a527f609d1be2bc8d8a70eb76cb
X-BeenThere: ngo@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: NETCONF Goes On - discussions on future work and extensions to NETCONF <ngo.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ngo>, <mailto:ngo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ngo>
List-Post: <mailto:ngo@ietf.org>
List-Help: <mailto:ngo-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ngo>, <mailto:ngo-request@ietf.org?subject=subscribe>
Errors-To: ngo-bounces@ietf.org

tom.petch píše v Čt 13. 09. 2007 v 12:46 +0200:
> ----- Original Message -----
> From: "McDonald, Ira" <imcdonald@sharplabs.com>
> To: "Ladislav Lhotka" <lhotka@cesnet.cz>; "tom.petch" <cfinss@dial.pipex.com>
> Cc: <ngo@ietf.org>
> Sent: Wednesday, September 12, 2007 9:18 PM
> Subject: RE: [NGO] NETCONF Data Modeling BoF (NDM) proposal
> 
> > Hi Tom,
> >
> > Characterizing RELAX NG versus XSD as "not powerful enough"
> > intrigues me.  Even the W3C now develops many new standards
> > in RELAX NG and machine translates them to XSD *only* when
> > their standards development work is complete (last draft).
> >
> 
> Which demonstrates that XSD is at least as powerful as RELAX NG.

No, it just demonstrates that it is easier to communicate the data model
(and develop the schemas) in RELAX NG than in XSD. Even Tim Bray now
recommends to convert to RELAX NG:
http://www.tbray.org/ongoing/When/200x/2006/11/27/Choose-Relax

> 
> Now if all valid XSD could be machine translated into RELAX NG,
> I would have to reconsider:-)

You can make up XSD schemas that cannot be translated to RELAX NG and
vice versa. However, for most real-life situations, and especially with
the restrictions placed on NETCONF data (no mixed content, wrapper
elements enclosing repeated children), it is IMO fair to say that both
languages have comparable expressive power and the schemas can be
generally translated in both directions.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



_______________________________________________
NGO mailing list
NGO@ietf.org
https://www1.ietf.org/mailman/listinfo/ngo