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-01 20:32:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Robert C. Leif" Newsgroups: comp.lang.ada Subject: XML and Ada was RE: A standard package for config files is needed Date: Sat, 1 Jun 2002 20:30:51 -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 1022988725 15259 137.194.161.2 (2 Jun 2002 03:32:05 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 2 Jun 2002 03:32:05 +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 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: 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:25185 Date: 2002-06-01T20:30:51-07:00 From: Bob Leif To: Pascal Obry et al. Ada and XML both have: range checking, enumerated types, begins and ends, bounded strings, as well as nesting of types or classes. XML has a rather verbose import statement that is equivalent to a with and a renames. The assignment of attributes in XML is similar to the formal actual notation of Ada. The extendable style language XSL, even has end if structures. Ada syntax is certainly preferable and much more succinct; however, XML and its schema based family of languages can comfortably coexist with Ada. I might note that there are parts of XML that Ada could copy. XML tokens can have both a minimum and a maximum size and specify both a character set and a pattern for them to be organized. This capacity exists for all strings and is a super set of the picture clause. Ada can benefit from these facilities by using XML for the equivalent of Text_Io. -----Original Message----- From: comp.lang.ada-admin@ada.eu.org [mailto:comp.lang.ada-admin@ada.eu.org] On Behalf Of Pascal Obry Sent: Saturday, June 01, 2002 11:11 AM To: comp.lang.ada@ada.eu.org Subject: Re: A standard package for config files is needed "Robert C. Leif" writes: > From: Bob Leif > To: Ted Dennison et al. > I agree about "bandwagon" argument. However, this time the Ada community > can use it to our advantage. Ada has a good fit with XML; Java does not. I'm completly lost with your arguments about Ada XML and Java ! Can you explain a bit what you have in mind ? For me there is two different groups here: Languages and a markup language to structure and exchange data. Both languages (Ada and Java) can use XML and for me they are on the same groud. Pascal. -- --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| "The best way to travel is by means of imagination" --| --| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595