comp.lang.ada
 help / color / mirror / Atom feed
From: "Gerhard Häring" <gerhard@bigfoot.de>
Subject: Re: XML and Ada was RE: A standard package for config files is needed
Date: 2 Jun 2002 07:54:51 GMT
Date: 2002-06-02T07:54:51+00:00	[thread overview]
Message-ID: <slrnafjjqe.gai.gerhard@lilith.my-fqdn.de> (raw)
In-Reply-To: mailman.1022988724.2668.comp.lang.ada@ada.eu.org

Robert C. Leif wrote in comp.lang.ada:
> From: Bob Leif
> To: Pascal Obry et al.

Not sure what this means and why you're posting to usenet if this was
meant as a personal email!?

> Ada and XML both have: range checking, enumerated types, begins and
> ends, bounded strings, as well as nesting of types or classes. XML has a
> rather verbose import statement that is equivalent to a with and a
> renames. The assignment of attributes in XML is similar to the formal
> actual notation of Ada. The extendable style language XSL, even has end
> if structures. 

Not considering DSSL and XSLT, which look like a LISP processor in
XML/SGML, XML is _not_ a programming language. It's only a (rather
verbose) way to represent structured data. The main advantage of XML
is that it's standardized, so you can use existing parsers instead of
inventing your own writer and reader for your data formats.

It also has its share of problems. For example parsing it is
relatively inefficient, it takes up a lot of space (bad for embedded
devices, but there are hacks that store XML in a binary format), and
it has IMO relatively poor query capabilities. At least compared to an
RDBMS.

> Ada syntax is certainly preferable and much more succinct; however,
> XML and its schema based family of languages can comfortably coexist
> with Ada. 

Sure. They're different beasts.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id AD24C930
public key fingerprint: 3FCC 8700 3012 0A9E B0C9  3667 814B 9CAA AD24 C930
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



  parent reply	other threads:[~2002-06-02  7:54 UTC|newest]

Thread overview: 130+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-28 10:59 A standard package for config files is needed Preben Randhol
2002-05-28 12:09 ` Martin Dowie
2002-05-28 12:09   ` Preben Randhol
2002-05-28 16:33 ` Darren New
2002-05-28 18:10   ` achrist
2002-05-28 20:28     ` Darren New
2002-05-28 22:35   ` Mark Biggar
2002-05-29  3:13     ` Hyman Rosen
2002-05-29  7:18       ` Pascal Obry
2002-05-29 14:40         ` The commercial world needs Ada was " Robert C. Leif
2002-05-29 16:29           ` Darren New
2002-05-29 23:26             ` Robert C. Leif
2002-05-30  0:10               ` Darren New
2002-05-29 17:08         ` Hyman Rosen
2002-05-29 19:34           ` Larry Kilgallen
2002-05-29 11:01   ` Preben Randhol
2002-05-29 16:23     ` Darren New
2002-05-29 21:42       ` achrist
2002-05-30  9:53         ` Preben Randhol
2002-05-30 14:45         ` Gautier
2002-05-30 17:00           ` achrist
2002-05-28 20:44 ` Marin David Condic
2002-05-29 11:05   ` Preben Randhol
2002-05-29 18:09   ` Ted Dennison
2002-05-29 18:59   ` Ted Dennison
2002-05-29 19:49     ` Marin David Condic
2002-05-30 17:52       ` Ted Dennison
2002-05-30 18:21         ` Preben Randhol
2002-05-30 22:55           ` Darren New
2002-05-31 15:52             ` Ted Dennison
2002-05-31 21:31               ` tmoran
2002-06-01 15:39                 ` Stephen Leake
2002-06-03 13:05                 ` Marin David Condic
2002-05-30 20:00         ` Marin David Condic
2002-05-31  6:43         ` Mats Karlssohn
2002-05-31 22:04           ` Robert C. Leif
2002-05-29  2:18 ` SteveD
2002-05-29 11:07   ` Preben Randhol
2002-05-29 12:57     ` SteveD
2002-05-29 13:05       ` Preben Randhol
2002-05-29 13:52         ` SteveD
2002-05-29 13:57           ` Preben Randhol
2002-05-29 16:30           ` Darren New
2002-05-29 19:24             ` Simon Wright
2002-05-30  9:54               ` Preben Randhol
2002-05-29 14:41     ` Robert C. Leif
2002-05-29 14:59       ` Martin Dowie
2002-05-29 15:30       ` Preben Randhol
2002-05-29 15:32       ` Preben Randhol
2002-05-29 19:29         ` Simon Wright
2002-05-31 16:26           ` Preben Randhol
2002-05-31 16:01       ` Ted Dennison
2002-06-01  2:27         ` Robert C. Leif
2002-06-01 16:38           ` Ted Dennison
2002-06-01 17:48             ` Robert C. Leif
2002-06-01 18:11               ` Pascal Obry
2002-06-02  3:30                 ` XML and Ada was " Robert C. Leif
2002-06-02  6:52                   ` Pascal Obry
2002-06-02 16:29                     ` XML and Ada Robert C. Leif
2002-06-02  7:54                   ` Gerhard Häring [this message]
2002-06-02 15:51                     ` XML and Ada was RE: A standard package for config files is needed Darren New
2002-06-02 19:02                       ` Preben Randhol
2002-06-02 20:52                         ` Gerhard Häring
2002-06-03  6:10                           ` Preben Randhol
2002-06-02 22:06                         ` Stephen Leake
2002-06-03  2:17                           ` Robert C. Leif
2002-06-04 18:48                             ` Georg Bauhaus
2002-06-05 14:17                               ` Robert C. Leif
2002-06-06 14:15                                 ` Georg Bauhaus
2002-06-07  0:33                                   ` Robert C. Leif
2002-06-07 10:55                                     ` Georg Bauhaus
2002-06-03  2:21                           ` Robert C. Leif
2002-06-03 14:20                             ` Marin David Condic
2002-06-04  1:39                               ` SteveD
2002-06-03  6:13                           ` Preben Randhol
2002-06-04 18:54                           ` Georg Bauhaus
2002-06-09 20:01                             ` Stephen Leake
2002-06-09 22:24                               ` Eric G. Miller
2002-06-10 12:31                                 ` Stephen Leake
2002-06-12  4:17                                   ` Eric G. Miller
2002-06-01 20:36               ` Preben Randhol
2002-06-02  3:30                 ` Robert C. Leif
2002-06-01 20:31             ` Preben Randhol
2002-05-29  7:22 ` Volkert
2002-05-29 14:41   ` Robert C. Leif
2002-05-29 18:26   ` tmoran
2002-05-30  7:41     ` Volkert Barr
2002-05-30  8:34       ` tmoran
2002-05-30  9:03         ` Volkert Barr
2002-05-30 13:39         ` Marin David Condic
2002-05-31 16:25           ` Ted Dennison
2002-05-31 16:50             ` Preben Randhol
2002-05-31 22:24               ` Ted Dennison
2002-06-01 15:44                 ` Stephen Leake
2002-05-31 17:25             ` Marin David Condic
2002-06-01 13:51               ` Preben Randhol
2002-06-03 13:23                 ` Marin David Condic
2002-06-04 11:46                   ` Preben Randhol
2002-06-01 15:53               ` Stephen Leake
2002-05-30 15:08         ` Stephen Leake
2002-05-30 16:07           ` Preben Randhol
2002-05-31 16:39         ` Preben Randhol
2002-05-31 21:31           ` tmoran
2002-05-31  9:05     ` Georg Bauhaus
2002-05-31 11:01       ` Florian Weimer
2002-05-31 13:15       ` Marin David Condic
2002-06-01 15:46         ` Stephen Leake
2002-06-01 16:50           ` Darren New
2002-05-31 13:34       ` Stephen Leake
2002-05-29 19:05   ` Ted Dennison
2002-05-30  7:49     ` Volkert Barr
2002-05-31 16:42       ` Preben Randhol
2002-05-29 17:56 ` Chad R. Meiners
2002-05-29 18:25 ` Ted Dennison
2002-05-30 19:58 ` Jacob Sparre Andersen
2002-05-30 20:12   ` Marin David Condic
2002-05-31  7:37     ` Preben Randhol
2002-05-31 13:21       ` Marin David Condic
2002-05-31 13:46         ` Marin David Condic
2002-06-01 11:23           ` Preben Randhol
2002-06-01 11:10         ` Preben Randhol
2002-06-01 15:50         ` Stephen Leake
2002-06-03 12:53         ` Jacob Sparre Andersen
2002-05-30 23:08   ` Darren New
2002-05-31 13:30   ` Stephen Leake
2002-06-03  1:00 ` Robert I. Eachus
2002-06-03  6:24   ` Preben Randhol
2002-06-03 15:54     ` Darren New
2002-06-03 16:49       ` Darren New
2002-06-09 21:27   ` Stephen Leake
replies disabled

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