comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <sb463ba@l1-hrz.uni-duisburg.de>
Subject: Re: Yet another XML and Ada issue
Date: Sun, 25 Apr 2004 16:31:16 +0000 (UTC)
Date: 2004-04-25T16:31:16+00:00	[thread overview]
Message-ID: <c6gp4k$aog$1@a1-hrz.uni-duisburg.de> (raw)
In-Reply-To: mailman.0.1082904727.313.comp.lang.ada@ada-france.org

Marius Amado Alves <amado.alves@netcabo.pt> wrote:
: "RELAX NG seems a valuable alternative to XQuery et al." (Marius)
: 
: "No!
: 
: RELAX NG is an alternative schema model, whose use should be actively
: discouraged.

Why?

A note on XML Schema types, they are far away from abstraction.
The "types" just happen to be the common C-like base types,
modelled with contemporary hardware in mind, and then some more
in the sense of Ada subtypes.

In RELAX NG, you can use any type library you desire, including
XML Schema types.
So given that specifying hardware oriented records is not the sole
purpose of XML markup, why restrict all XML use to the fixed and
large set of XML Schema? Besides, ASN.1 is quite good at moving
records around.


: Even XSchema proponents agree that RELAX NG suceeds at being a more compact
: notation for XML schemas, useful for writing such schemas when schema
: transformation (e.g. via XSLT) is not required.

There are two notations for RELAX NG, one uses XML, and can thus
be submitted to XSL Transformations. The other, compact notation,
can't immediately but of course there is an exact 1:1 mapping, and
tools to transform from compact to XML based and the other way round.


-- Georg



  reply	other threads:[~2004-04-25 16:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-25 10:02 Yet another XML and Ada issue Marius Amado Alves
2004-04-25 16:31 ` Georg Bauhaus [this message]
2004-04-25 21:20   ` Robert C. Leif
2004-04-26  8:11     ` Marius Amado Alves
2004-04-26 15:44   ` chris
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox