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-05 01:39:18 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.73.101.75!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: Wed, 05 Jun 2002 10:39:16 +0200 Organization: TU Berlin, Fachbereich Informatik Message-ID: <3CFDCE34.7D0838E3@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 1023266356 101 130.149.19.1 (5 Jun 2002 08:39:16 GMT) X-Complaints-To: news@cs.tu-berlin.de NNTP-Posting-Date: 5 Jun 2002 08:39:16 GMT X-Mailer: Mozilla 4.79 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:25336 Date: 2002-06-05T08:39:16+00:00 List-Id: "Grein, Christoph" wrote: > > From: Volkert Barr > > > Where is this grammar? > > > > I hope Stephan Leake will add it to his "Config-Proposal Page"! > > Where is this page? I've just entered this thread (back from holidays). http://users.erols.com/leakstan/Stephe/Ada/config_files.html > > > > > > XML-like Configuration: > > > > > > > > > > > > > > > > Key > > > > Value > > > Can this be repeated? There might be more than one key for a config_item.> > > Sure ! Remeber this just an example and not a syntax definition!! > > > > > > > > > > > > > What's the use of ? > > A Config_Item can have a list of Entries which are > > Key/Value Pairs! Thats typical XML Style! > > I know XML... Why inside an inner > and not inside an outer . This is > inconsistent and looks superfluous. ok! The name Config_Item is not a good one! Should be called "Section" and entry sould be called "item" (as in the model i just send you!) > And by the way: XML requires an end tag for the inner config_item which you have > forgotten in your example. Yep! I know XML! It was just a mistake!
Key Value
Key Value Key Value