Re: [YANG] relation to XML PDUs

Martin Bjorklund <mbj@tail-f.com> Mon, 21 January 2008 13:49 UTC

Return-path: <yang-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1JGx1w-0002Du-Uv; Mon, 21 Jan 2008 08:49:40 -0500
Received: from yang by megatron.ietf.org with local (Exim 4.43) id 1JGx1v-0002Bn-8o for yang-confirm+ok@megatron.ietf.org; Mon, 21 Jan 2008 08:49:39 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1JGx1u-0002BZ-K9 for yang@ietf.org; Mon, 21 Jan 2008 08:49:38 -0500
Received: from [213.180.94.162] (helo=mail.tail-f.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1JGx1u-0005sa-8p for yang@ietf.org; Mon, 21 Jan 2008 08:49:38 -0500
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTP id 048A21B80C4; Mon, 21 Jan 2008 14:49:36 +0100 (CET)
Date: Mon, 21 Jan 2008 14:50:54 +0100 (CET)
Message-Id: <20080121.145054.158522565.mbj@tail-f.com>
To: lhotka@cesnet.cz
Subject: Re: [YANG] relation to XML PDUs
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <1200921746.6914.176.camel@missotis>
References: <1200921746.6914.176.camel@missotis>
X-Mailer: Mew version 5.1.51 on Emacs 22.1 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 08170828343bcf1325e4a0fb4584481c
Cc: yang@ietf.org
X-BeenThere: yang@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: YANG modeling Language for NETCONF <yang.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/yang>
List-Post: <mailto:yang@ietf.org>
List-Help: <mailto:yang-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/yang>, <mailto:yang-request@ietf.org?subject=subscribe>
Errors-To: yang-bounces@ietf.org

Ladislav Lhotka <lhotka@cesnet.cz> wrote:
> Hi,
> 
> I understand that YANG data models describe entire configuration
> datasets, but do they also pose any restrictions to the NETCONF XML
> PDUs? For example: the order of children in a YANG model is fixed - does
> it mean that the corresponding XML elements in PDUs must appear in the
> same order?

Currently we do this, mainly b/c of the requirement to be XSD
compatible, i.e. we want to be able to generate an XSD which can be
used to validate the PDUs.


/martin


_______________________________________________
YANG mailing list
YANG@ietf.org
https://www1.ietf.org/mailman/listinfo/yang