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,38159b1b5557a2e7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-30 10:49:16 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: Nature of XML Date: Fri, 30 Jan 2004 18:49:15 +0000 (UTC) Organization: GMUGHDU Message-ID: References: NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1075488555 2204 134.91.1.34 (30 Jan 2004 18:49:15 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 30 Jan 2004 18:49:15 +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:5115 Date: 2004-01-30T18:49:15+00:00 List-Id: Alexandre E. Kopilovitch wrote: : Georg Bauhaus wrote: : :> : 3) about XML I'm still not sure. From its popular presentation it does not :> : seem a programming language; but SAX somehow changes the picture. :> :> XML is a well defined term, and the hint it has in its :> name is "markup language". : Yes, but you did not notic?d the first letter -:) Yes, but that's cheating :-) :> SAX stands for Simple API for XML parsers, not a programming language. : Ok, but constructing an input stream for an automaton is also programming - : no less that constructing a transition matrix for it. And SAX produces exactly : that - a stream of events... as far as I know. Does an API produce something? : Anyway, you excluded DTDs from your consideration, and that is the most : suspicious thing there. DTDs certainly can't be characterized as simply : "markup". "<" followed by "!" starts a declaration, a markup declaration in SGML reference syntax. , a comment declaration, is the smallest comment possible in SGML. So we have comments for a start. There are DOCTYPE, ELEMENT, ENTITY, NOTATION, ATTLIST, and some more kinds of declarations, among them marked sections, which can be INCLUDED, or IGNORED, so we have conditional "compilation", and maybe forward branching? :-) Add some typing in ATTLIST and some constraints by IDREF(S). Then there is the treatment of (parameter) entity references. Does it allow computations on strings? I don't know. Here is add: * The DTD * the document instance * a "noncomputing" transformation that just shows the result. (This is not XML at work, but the X you mentioned, in a sense :-) -- Georg