From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4d5213dac267f6a3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-04-25 09:31:17 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.stueberl.de!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Yet another XML and Ada issue Date: Sun, 25 Apr 2004 16:31:16 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1082910676 11024 134.91.1.34 (25 Apr 2004 16:31:16 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Sun, 25 Apr 2004 16:31:16 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:7471 Date: 2004-04-25T16:31:16+00:00 List-Id: Marius Amado Alves 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