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 12:11:37 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!cox.net!news-east.rr.com!cyclone.columbus.rr.com!cyclone3.kc.rr.com!news3.kc.rr.com!twister.socal.rr.com.POSTED!not-for-mail Message-ID: <3CFE6281.1F07E497@san.rr.com> From: Darren New X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files References: <3CFC5DB2.A21DCF61@cs.tu-berlin.de> <4519e058.0206041129.5b250124@posting.google.com> <3CFDBB4D.29DAADEF@cs.tu-berlin.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 05 Jun 2002 19:11:36 GMT NNTP-Posting-Host: 66.75.151.160 X-Complaints-To: abuse@rr.com X-Trace: twister.socal.rr.com 1023304296 66.75.151.160 (Wed, 05 Jun 2002 12:11:36 PDT) NNTP-Posting-Date: Wed, 05 Jun 2002 12:11:36 PDT Organization: RoadRunner - West Xref: archiver1.google.com comp.lang.ada:25370 Date: 2002-06-05T19:11:36+00:00 List-Id: Georg Bauhaus wrote: > > Preben Randhol wrote: > : On Wed, 5 Jun 2002 10:24:12 +0000 (UTC), Georg Bauhaus wrote: > :> > : > : Why do you use meta-data through arguments. Why not: > meta-data? > arguments? I'm not sure I understand. > : > : > : master > : all > : > > 1) This loses type information on allowable key data ("master" > in this case), and as the discussion has shown, it might be > desirable to restrict keys to a few sensible characters, that > is NMTOKEN. > > 2) The idea is to use attributes as properties. If you have > > foo := bla some value blub > > this maps nicely to > > Actually, it maps nicely to bla some value blub which would allow pretty much arbitrary text in the value with minimal escapage necessary. > This is what attributes are for, Well, er, not really, but OK. :-) > I find the attribute way a lot more pleasant. Until you get values that are complex, multiple lines, long, contain weird characters, etc. -- Darren New San Diego, CA, USA (PST). Cryptokeys on demand. ** http://home.san.rr.com/dnew/DNResume.html ** ** http://images.fbrtech.com/dnew/ ** My brain needs a "back" button so I can remember where I left my coffee mug.