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-12 12:18:57 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!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files Date: Wed, 12 Jun 2002 19:18:56 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3CFC5DB2.A21DCF61@cs.tu-berlin.de> <4519e058.0206041129.5b250124@posting.google.com> <4519e058.0206100702.5a4b431a@posting.google.com> <3D0769F7.68F5BD9C@san.rr.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1023909536 28758 134.91.4.34 (12 Jun 2002 19:18:56 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Wed, 12 Jun 2002 19:18:56 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:25815 Date: 2002-06-12T19:18:56+00:00 List-Id: Darren New wrote: : Ted was talking about the code being smaller, not the config file. Sorry, I've missed it. : Errr... as opposed to using 'cat' to edit INI files? ed or edlin or some such will do in any case, =-text or XML text, provided such a thing is present in the toaster :-) : So why not allow binary in the files, if you need to use a special editor to : edit them? Because you needn't use a special editor, but you can. (For example at some remote site.) : you're looking at something best done with a full-blown XML parser, at which : point who needs a config file API anyway? A full blown XML parser doesn't force us to use a completely unrestricted DTD. The restrictions can be reflected in the DTD. It doesn't force the configured program to include it.