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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,865c3d125a8dbc3b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 04 Jun 2009 00:09:40 +0200 From: Georg Bauhaus Reply-To: rm.tsoh+bauhaus@maps.futureapps.de User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Howto read line from a stream References: <83317a97-dae5-4c84-a1ac-88a87833cf3f@q14g2000vbn.googlegroups.com> <1a90e055-44a3-4d00-b4cd-64798c731a55@e24g2000vbe.googlegroups.com> <709e8a12-f967-43db-b76b-4852cf1db08b@v4g2000vba.googlegroups.com> <196d124vj6gin.16zf5y40t9tr$.dlg@40tude.net> <4a26d249$0$31865$9b4e6d93@newsspool3.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a26f4a3$0$32674$9b4e6d93@newsspool2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 04 Jun 2009 00:09:39 CEST NNTP-Posting-Host: 999d4e46.newsspool2.arcor-online.net X-Trace: DXC=o9BeMUZR[Xa<6cDJZfMd_cA9EHlD;3Ycb4Fo<]lROoRa^YC2XCjHcbi3\UQddR_@TlA:ho7QcPOVc2QTe0m70X7a]ooJX`hZN>g X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:6196 Date: 2009-06-04T00:09:39+02:00 List-Id: Dmitry A. Kazakov wrote: > Why should I convert anything? To get data from outside input, reshaped as needed. (STEP 3) > Who does write it? Admins, operators, ... They use their preferred, but customized to your grammar, XML editor that (a) lets them write consistent configurations and no others and (b) uses XML behind the scenes only. (Much better than information nicely scattered in some Excel sheet. Better than some proprietary system dependent GUI for config making as these seem to have a limited life time built in.) (STEP 1) > Who does read it? The middleware. Your middleware program will process the XML data produced by outsiders during STEP 1 above. Wouldn't this processing step resemble an integration build with regard to the state of compilation units (XML documents) where a compiler (validating XML parser) has seen the units? (STEP 2) STEP 4: You have valid data ready for consumption as is... Otherwise, there is a problem with input sent to you, and caused by something outside your responsibility.