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,a26758eec3c2e1ad X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-03 23:27:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!iad-peer.news.verio.net!news.verio.net!newsfeed.stueberl.de!eusc.inter.net!cs.tu-berlin.de!not-for-mail From: Volkert Barr Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files Date: Tue, 04 Jun 2002 08:26:58 +0200 Organization: TU Berlin, Fachbereich Informatik Message-ID: <3CFC5DB2.A21DCF61@cs.tu-berlin.de> References: NNTP-Posting-Host: bolero.cs.tu-berlin.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.cs.tu-berlin.de 1023172019 21176 130.149.19.1 (4 Jun 2002 06:26:59 GMT) X-Complaints-To: news@cs.tu-berlin.de NNTP-Posting-Date: 4 Jun 2002 06:26:59 GMT X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:25287 Date: 2002-06-04T06:26:59+00:00 List-Id: Mike and Lynn Card wrote: > > Hello CLA- > > I thought I would mention that some of our programs at Lockheed-Martin > have begun using XML for configuration files. It really is handy because > you don't have to write your own token-paring code, and I would expect > it to eventually become standard practice. > I used XML recently on a project to store some static configuration data > and read it in and turned it into Ada objects using the SAX facility in > XMLAda. This was a great technique that saved me a lot of time. Yes XML can help here, but the most projects i have seen, XML was a complete overkill! Don't forget, that a syntax definition the XML files is necessary and parsing/navigation/errorhandling is still your problem! I believe, a simple Package/Key/Value Style works well for most problems. And today, XMLAda based on the GNAT Spitbol package and is not compiler independent! But compiler independence should be an requirement for the Configuration Packages! If there is a consensus that XML is needed, the Spitbowl Package must be ported! Volkert