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-10 09:22:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!freenix!wanadoo.fr!not-for-mail From: Pascal Obry Newsgroups: comp.lang.ada Subject: Re: Use of XML for config files Date: 10 Jun 2002 18:21:46 +0200 Organization: Home - http://perso.wanadoo.fr/pascal.obry Message-ID: References: <3CFC5DB2.A21DCF61@cs.tu-berlin.de> NNTP-Posting-Host: avelizy-103-1-3-205.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: wanadoo.fr 1023726124 6695 217.128.47.205 (10 Jun 2002 16:22:04 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 10 Jun 2002 16:22:04 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.90 Xref: archiver1.google.com comp.lang.ada:25684 Date: 2002-06-10T16:22:04+00:00 List-Id: Stephen Leake writes: > Preben Randhol writes: > > > On Sun, 09 Jun 2002 21:52:06 GMT, Stephen Leake wrote: > > > You really should look at the implemenation of Glib.XML. Get it from > > > the GtkAda distribution at http://libre.act-europe.fr/GtkAda/ > > > > > > It's _one_ Ada package; the body file is 671 lines long. I don't think > > > that's overkill for anything! > > > > But it doesn't contain any verification code > > True. Why is that an issue? > > > and does it handle attributes? > > Also true. Why is that an issue? I agree with Stephen. The XML reader can do only what is needed to read the config file. We don't need an SAX or DOM compliant reader, it is the same work to read/validate all possible XML document and read a very well defined (DTD) XML document... So the integrated reader we would use for the config package is certainly in the order of 1_000 lines of code... Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595