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

Ladislav Lhotka <lhotka@cesnet.cz> Sun, 23 September 2007 11:02 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 1IZPDy-0000kQ-5A; Sun, 23 Sep 2007 07:02:06 -0400
Received: from ngo by megatron.ietf.org with local (Exim 4.43) id 1IZPDw-0000eF-TE for ngo-confirm+ok@megatron.ietf.org; Sun, 23 Sep 2007 07:02:04 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IZPDw-0000d7-Ji for ngo@ietf.org; Sun, 23 Sep 2007 07:02:04 -0400
Received: from office2.cesnet.cz ([195.113.144.244]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IZPDl-0004Gm-Cj for ngo@ietf.org; Sun, 23 Sep 2007 07:01:59 -0400
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 6B2E4D800C0; Sun, 23 Sep 2007 13:01:32 +0200 (CEST)
Subject: Re: [NGO] NETCONF Data Modeling BoF (NDM) proposal
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
In-Reply-To: <46F299E7.4000409@ericsson.com>
References: <200709101341.l8ADfqql043484@idle.juniper.net> <46E5597A.6030707@andybierman.com> <027701c7f522$6fac3b40$0601a8c0@pc6> <1189599849.19708.64.camel@missotis> <46E83B61.2040303@andybierman.com> <1189633858.13920.38.camel@missotis> <46F299E7.4000409@ericsson.com>
Content-Type: text/plain; charset="UTF-8"
Organization: CESNET
Date: Sun, 23 Sep 2007 13:01:31 +0200
Message-Id: <1190545291.7477.26.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: 4d87d2aa806f79fed918a62e834505ca
Cc: ngo@ietf.org
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

Hi Balasz,

the main reason is the stunning nxml mode for emacs that does
autocompletion, on-the-fly validation etc.

I tend to agree though that the best way of presenting schemas in RFCs
would be the compact format as it would be accessible to a broader
community almost without any a priori explanation.

A useful extension of the method I described in
draft-lhotka-relaxng-to-rfc-00 could thus be to transform the annotated
input schema (in XML syntax, exactly as described in the draft) into
xml2rfc XML but present the RELAX NG blobs in the compact syntax.

Cheers, Lada

Balazs Lengyel píše v Čt 20. 09. 2007 v 18:03 +0200:
> Hello Ladislav,
> Why did you choose to use the XML format of RelaxNG? I was always told that the compact format 
> is much nicer.
> Balazs
> 
> Ladislav Lhotka wrote:
> > Andy Bierman píše v St 12. 09. 2007 v 12:17 -0700:
> >> I don't think that many people know RelaxNG.
> >> When <appinfo> and <documentation> type of clauses are included,
> >> it isn't so clean anymore.  It may be just as hard to learn for
> > 
> > RELAX NG allows application-specific info and documentation (in foreign
> > namespaces) to be directly included in the schema, without any (clumsy)
> > encapsulating elements. Here is an example:
> > http://www.flowmon.org/flowmon-probe/devel/config/flowmon-rng/
> > (this HTML was compiled directly from a valid RELAX NG schema via XSLT)
> >    
> >> people as XSD.  It doesn't really deal with any NETCONF-specific
> >> issues (like max-access and conceptual tables) any more than XSD.
> > 
> > Maybe not, but at least it is relatively simple, extensible and based on
> > a sound mathematical basis (labelled tree automata). See also
> > http://www.imc.org/ietf-xml-use/mail-archive/msg00217.html
> > 
> > Lada
> > 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



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