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-07 03:55:49 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newspeer.clara.net!news.clara.net!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: XML and Ada was RE: A standard package for config files is needed Date: Fri, 7 Jun 2002 10:55:48 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1023447348 7368 134.91.4.34 (7 Jun 2002 10:55:48 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 7 Jun 2002 10:55:48 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:25442 Date: 2002-06-07T10:55:48+00:00 List-Id: Robert C. Leif wrote: : My comments were specifically directed to XML schema. Therefore, the : SGML handbook is only of historical interest. Uhm, I think this is a misunderstanding (and a big one :-). (The SGML Handbook, for those who haven't seen it, is much like the combination of the Ada Annotated RM + Rationale, with respect to ISO 8879 (SGML).) XML ist still just a subset of SGML, and schema definitions can (therefore) be expressed in SGML, but they need not even be expressed in XML. More importantly (and this is why I've found the quote interesting): some of the intentions behind schemas (more semantic information about document data element types) are not an entirely new argument. (The author (Goldfarb) is, I think you know, one of the two authors of The XML Handbook.) : If I obtain an XML schema that has not been strongly typed, wherever : possible, I create the equivalent of Ada subtypes with explicit ranges. This is what I wanted to point out in the quote. While I agree that it would be nice, if at all possible, to have a consensually defined data type (using a schema expressed in XML) independent of a programming language, I would want this as part of the minimal requirements section of some document, and then use the best language techniques to implement software fulfilling these requirements. -- Georg