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-03 18:39:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!wn3feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!rwcrnsc51.ops.asp.att.net.POSTED!not-for-mail From: "SteveD" Newsgroups: comp.lang.ada References: Subject: Re: XML and Ada was RE: A standard package for config files is needed X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: NNTP-Posting-Host: 12.225.227.101 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc51.ops.asp.att.net 1023154770 12.225.227.101 (Tue, 04 Jun 2002 01:39:30 GMT) NNTP-Posting-Date: Tue, 04 Jun 2002 01:39:30 GMT Organization: AT&T Broadband Date: Tue, 04 Jun 2002 01:39:30 GMT Xref: archiver1.google.com comp.lang.ada:25284 Date: 2002-06-04T01:39:30+00:00 List-Id: "Marin David Condic" wrote in message news:adftvr$1pr$1@nh.pace.co.uk... > 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... XMLAda does include a DTD validator. I've tested it with a small sample. I did have to change a couple of lines in one of the source files to have it work, I have already submitted the changes, but haven't seen them show up in a new version (I think GPS is taking a higher precident). SteveD > > 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. > > > > >