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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,47bc849aad30d586 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-29 07:42:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!isdnet!enst!enst.fr!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: RE: A standard package for config files is needed Date: Wed, 29 May 2002 07:41:20 -0700 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1022683322 64017 137.194.161.2 (29 May 2002 14:42:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Wed, 29 May 2002 14:42:02 +0000 (UTC) Return-Path: X-Envelope-From: rleif@rleif.com X-Envelope-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-reply-to: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:24930 Date: 2002-05-29T07:41:20-07:00 From: Bob Leif To: Preben et al. Firstly,"3) Would need a DTD for each the config file." No! Since XML schemas can almost have a one to one correspondence with an Ada package, the Ada community benefits by the use of Schemas. XML has two advantages over Ada. 1) More users and 2) eventually more tools. It has the disadvantage, that except for XSL Fo, XML lacks subprograms. Parenthetically, XML would benefit from the services of Ada language lawyers. As for bloat, if readability requires bloat, then it is by far the lesser of two evils. -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org] On Behalf Of Preben Randhol Sent: Wednesday, May 29, 2002 4:07 AM To: comp.lang.ada@ada.eu.org Subject: Re: A standard package for config files is needed On Wed, 29 May 2002 02:18:28 GMT, SteveD wrote: > Gee. I thought this was just the kind of thing that XMLAda was good > for. > > A few lines of code to read the configuration file (XML) followed by a > few lines of code to access the data. > > Then if you decide you want to do something more fancy with > configuration there is little additional cost. The problems with XML is: 1) Hard to handedit/read for the user 2) Have applications depend on XML/Ada for only the config files seams bloat. 3) Would need a DTD for each the config file Preben