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,47bc849aad30d586 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-09 15:24:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!csulb.edu!newshub.sdsu.edu!west.cox.net!cox.net!newsfeed1.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!870a9d88!not-for-mail From: "Eric G. Miller" Subject: Re: XML and Ada was RE: A standard package for config files is needed Newsgroups: comp.lang.ada Message-ID: References: <3CFA3F25.118C9989@san.rr.com> User-Agent: Pan/0.11.3 (Unix) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Comment-To: "Stephen Leake" Date: Sun, 09 Jun 2002 22:24:59 GMT NNTP-Posting-Host: 216.119.47.131 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 1023661499 216.119.47.131 (Sun, 09 Jun 2002 15:24:59 PDT) NNTP-Posting-Date: Sun, 09 Jun 2002 15:24:59 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:25635 Date: 2002-06-09T22:24:59+00:00 List-Id: In , Stephen Leake wrote: > Georg Bauhaus writes: > >> Stephen Leake wrote: >> : But maybe you meant >> : "validation against the DTD"; we also don't care. >> >> I think this is a mistake. A DTD is a _very_ good opportunity >> to think about data, even if this seem like overkill for "mere" >> config files. And how fault tolerant is the configuration process? >> (Speed shouldn't be an issue here, or should it?) > > Ok. Good points. > > Speed should _not_ be an issue. That belongs in the requirements. > > I think my problem is I have no idea how to go about using a DTD. In > particular, the Glib.XML package does _not_ support validation. That seems odd, since libxml2 supports DTD validation (they're in the process of adding XML schemas...). But, I'm not familiar with the Glib binding (I imagine a GLIB2 binding would bring in libxml2...). Seems it'd be useful to have an independent binding for libxml2 so you don't have to bring glib into the picture if you don't need/want it and also get full access to all the functionality (I think GLIB just implements/uses a small subset).