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-Thread: a07f3367d7,865c3d125a8dbc3b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!noris.net!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 04 Jun 2009 11:41:38 +0200 From: Georg Bauhaus User-Agent: Thunderbird 2.0.0.21 (Macintosh/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> <4a26f4a3$0$32674$9b4e6d93@newsspool2.arcor-online.net> <1x2tgzxiay4t3$.rvhjms1ggu3h.dlg@40tude.net> In-Reply-To: <1x2tgzxiay4t3$.rvhjms1ggu3h.dlg@40tude.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4a2796d2$0$30234$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 04 Jun 2009 11:41:38 CEST NNTP-Posting-Host: 090a356e.newsspool1.arcor-online.net X-Trace: DXC=i_VAl00D5?VV0Pe9PRnbJ\ic==]BZ:af^4Fo<]lROoRQ^YC2XCjHcbYo[ Dmitry A. Kazakov schrieb: > Do you plan an admin position for your ball-point pen? You must be a very > wealthy man... Reminds me that I need to get one or two ballpen refills. > The point is, either the configuration is trivial and you don't need any, > or else it is non-trivial and then a representation of it as a tree does > not work. What would be the reason that trees don't work? I notice that alternative formats have tree structure, such as Name.Space.This = 123 Name.Space.That = foo Another.Thing = bar Dot, almighty... (Java properties files). > XML is rooted in dark ages of computing, The dark ages of configuration are not over, and they will not be over as long as we are here; remember the protocols being written in quality C? ;-) > from the times when people didn't > really understand that there is no data. Because data without behavior is > noise. Data and behavior can have a *separate* representation when moving between parts of a technical process. > It > does not add any value. Config data does not need to *add* value. Just *provide* values. Valid values. XML validation is a start, and can be performed anywhere. Here in the chain XML can add value to some technical production process. > My middleware binds publishers and subscribers without XML. Since you are the one who has written the middleware (a one producer connected system? long term maintenance contracts? cooperative atmosphere?), I suppose it is unlikely processing some cleverly made outside octet format such as videotext. > If input is connected, it cannot be outside my responsibility. Producing data can be an outside your responsibility. I'd expect input validation to be more likely successful when data has been preprocessed. This is somewhat like a journalist would be responsible, in part, for what he writes before the editor does his work.