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-13 10:06:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.icl.net!news.mailgate.org!newsfeed.stueberl.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news-stu1.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files Date: Thu, 13 Jun 2002 17:06:06 +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> <4519e058.0206130553.3ee195f1@posting.google.com> <3D08CAF0.846AA176@san.rr.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1023987966 13188 134.91.4.34 (13 Jun 2002 17:06:06 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Thu, 13 Jun 2002 17:06:06 +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:25890 Date: 2002-06-13T17:06:06+00:00 List-Id: Darren New wrote: :> Understanding starts at understanding the contents and the structure, :> not the syntax. That's essential. : : No, it starts at the syntax, because if you can't read it, you can't even : learn the contents and structure. O.K. In the sense that if you can't read it you cannot start to understand it. Should have said so, sorry for the sloppiness. :> How does one capture dependencies of settings in kv pairs? : : In documentation, just like you would in XML. No I wouldn't, not in all cases. At least I wouldn't where a grammar allows me to require dependency checked data. (The other issues you will have to ask Dr. Leif. :-) :-) :-) Sorry, couldn't resist.) Sure I wouldn't want to try to implement a compiling Turing machine in either keys and values or in XML. : Of course, a simple example would suffice. A simple example (not for number addition in XML, of course) is that a child element can be required by the DTD or an attribute value must be present (again required by the DTD) with a value of either "yes" or "no". -- Georg