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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 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-03 17:28:48 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!btnet-peer!btnet!newspeer.clara.net!news.clara.net!eusc.inter.net!unlisys!news.snafu.de!psinet-eu-nl!psiuk-p4!uknet!psiuk-p3!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: XML and Ada was RE: A standard package for config files is needed Date: Mon, 3 Jun 2002 10:20:42 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: References: NNTP-Posting-Host: dhcp-200-133.miami.pace.co.uk X-Trace: nh.pace.co.uk 1023114043 1851 136.170.200.133 (3 Jun 2002 14:20:43 GMT) X-Complaints-To: newsmaster@news.cam.pace.co.uk NNTP-Posting-Date: 3 Jun 2002 14:20:43 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: archiver1.google.com comp.lang.ada:25283 Date: 2002-06-03T14:20:43+00:00 List-Id: I agree that DTDs are not nearly so wonderful as an XSL schema. I wouldn't see any reason to use DTDs when XSL provides a much more powerful and far less clumsy way of expressing what constitutes valid data. However, in the context of the proposed config files, there's a bit of a problem. AFAIK, there isn't any Ada implementation of either a DTD or XSL "validator". There is an XML DOM - which is interesting and something that can be leveraged. But I don't believe it has any capability of applying an XSL schema (or any other validation means) against its inputs. It would be an interesting capability to add... MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com "Robert C. Leif" wrote in message news:mailman.1023070922.31368.comp.lang.ada@ada.eu.org... > > 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. >