Re: analysis of YANG vs. RELAX NG

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Tue, 04 December 2007 07:25 UTC

Return-path: <discuss-bounces@apps.ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IzS9z-0003BU-SU; Tue, 04 Dec 2007 02:25:39 -0500
Received: from discuss by megatron.ietf.org with local (Exim 4.43) id 1IzS9z-0003BL-Br for discuss-confirm+ok@megatron.ietf.org; Tue, 04 Dec 2007 02:25:39 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IzS9y-0003BA-QG for discuss@apps.ietf.org; Tue, 04 Dec 2007 02:25:38 -0500
Received: from hermes.jacobs-university.de ([212.201.44.23]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IzS9x-0002xA-2X for discuss@apps.ietf.org; Tue, 04 Dec 2007 02:25:38 -0500
Received: from localhost (demetrius.jacobs-university.de [212.201.44.32]) by hermes.jacobs-university.de (Postfix) with ESMTP id 0444386632; Tue, 4 Dec 2007 08:25:36 +0100 (CET)
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 26091-09; Tue, 4 Dec 2007 08:25:31 +0100 (CET)
Received: from elstar.local (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 89DF48A147; Tue, 4 Dec 2007 08:25:31 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id 9537D4086F9; Tue, 4 Dec 2007 08:25:31 +0100 (CET)
Date: Tue, 04 Dec 2007 08:25:31 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Ladislav Lhotka <lhotka@cesnet.cz>
Subject: Re: analysis of YANG vs. RELAX NG
Message-ID: <20071204072531.GA19235@elstar.local>
References: <474D9194.3060103@ericsson.com> <953beacc0711281025w4d993dd7u77d729111074496c@mail.gmail.com> <20071128.230244.254578150.mbj@tail-f.com> <63F8A418-6AF0-4205-ACC7-53A8C7BC6A73@osafoundation.org> <47512728.6040201@gmx.de> <517bf110712021242v43c462f0v86267f591e5cdfbd@mail.gmail.com> <47543B30.1060409@andybierman.com> <1196704923.5569.14.camel@missotis> <003801c835e7$4fefeb20$6801a8c0@oemcomputer> <1196722786.5835.57.camel@missotis>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <1196722786.5835.57.camel@missotis>
User-Agent: Mutt/1.5.17 (2007-11-01)
X-Virus-Scanned: amavisd-new 2.3.3 (20050822) at jacobs-university.de
X-Spam-Score: 0.0 (/)
X-Scan-Signature: ffa9dfbbe7cc58b3fa6b8ae3e57b0aa3
Cc: discuss@apps.ietf.org
X-BeenThere: discuss@apps.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: general discussion of application-layer protocols <discuss.apps.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=unsubscribe>
List-Post: <mailto:discuss@apps.ietf.org>
List-Help: <mailto:discuss-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=subscribe>
Errors-To: discuss-bounces@apps.ietf.org

On Mon, Dec 03, 2007 at 11:59:46PM +0100, Ladislav Lhotka wrote:
 
> I think it's a misunderstanding. I am not pleading for fuzzy (is it
> approximately what "mushy" means?;-) data models, the models can and
> should be simple and unambiguous, I am talking about additional
> flexibility for model *designers*, i.e., straightforward means for
> reusing and extending existing models into new models (also by adding
> structure to former leaves, why not?), and here I think YANG is rather
> rigid when compared to RELAX NG.

The question whether it is a good idea to be able to turn a data
containing XML element into a container element in a future revision
of a data model is pretty much independent of the schema language.

Several network management people believe that having XML elements
that sometimes are containers and sometimes leafs does not help
interoperability. In fact, we would likely require that any solution
(e.g. XSD-+ or RELAX NG-+ extended subset languages) does have
versioning rules attached that guarantee the same behaviour.

/js

-- 
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/>