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 14:20:33 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: rleif@rleif.com (Robert C. Leif) Newsgroups: comp.lang.ada Subject: Re: Yet another XML and Ada issue Date: 25 Apr 2004 14:20:33 -0700 Organization: http://groups.google.com Message-ID: <657ea3e3.0404251320.7a725c41@posting.google.com> References: NNTP-Posting-Host: 64.105.82.40 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1082928033 22078 127.0.0.1 (25 Apr 2004 21:20:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 25 Apr 2004 21:20:33 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:7485 Date: 2004-04-25T14:20:33-07:00 List-Id: What would happen if I suggested to this news group that Ada be replaced by "a more compact notation" "useful for writing programs when the use of ASIS and other tools are "not required."? I admit that schema import statements are overly verbose. However, standardization always has its costs. We have learned from Ada that these costs are worthwhile. Schema maximizes readability and has range checking and many other features very similar to Ada. In fact it its possible to write schema following my style guide, FAKE ADA! Bob Leif Georg Bauhaus wrote in message news:... > 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