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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no 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-02 19:22:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp.abs.net!isdnet!enst!enst.fr!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: RE: XML and Ada was RE: A standard package for config files is needed Date: Sun, 2 Jun 2002 19:21:35 -0700 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1023070922 54998 137.194.161.2 (3 Jun 2002 02:22:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 3 Jun 2002 02:22:02 +0000 (UTC) Return-Path: X-Envelope-From: rleif@rleif.com X-Envelope-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:25232 Date: 2002-06-02T19:21:35-07:00 From: Bob Leif To: Stephen Leake et al. Please validate against a schema. Schemas have a type structure similar to Ada's. Hence, validation is useful. DTDs are an old SGML construct, that will, hopefully, eventually disappear. -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org] On Behalf Of Stephen Leake Sent: Sunday, June 02, 2002 3:06 PM To: comp.lang.ada@ada.eu.org Subject: Re: XML and Ada was RE: A standard package for config files is needed Preben Randhol writes: > On Sun, 02 Jun 2002 15:51:42 GMT, Darren New wrote: > > and CDATA). It's also easy to write simple parsers for, given the > > amount of power it provides. > > Not if you want authentication For config files, I don't think we care. But maybe you meant "validation against the DTD"; we also don't care. > and want to parse the file without reading all of it into memory > first. For config files, we _do_ want to read it all into memory first, or at least eventually. -- -- Stephe