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: 103376,602331146257f418 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Thu, 23 Jun 2005 00:24:30 +0200 From: Georg Bauhaus Organization: Home User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Data table text I/O package? References: <42b169a6$0$27776$9b4e6d93@newsread2.arcor-online.net> <8j219bkiemjq$.1mmc0sh5a5yfi$.dlg@40tude.net> <42b17420$0$1141$9b4e6d93@newsread4.arcor-online.net> <24xw0b1odenq.mogaaz1unwv0.dlg@40tude.net> <42b6a64f$0$1132$9b4e6d93@newsread4.arcor-online.net> <1in4nty16vspl$.1cicehrmojyok$.dlg@40tude.net> <42b70a06$0$27782$9b4e6d93@newsread2.arcor-online.net> <1u56bhsve8jaq$.1jaobcwbltsz1$.dlg@40tude.net> <42b7dccb$0$1138$9b4e6d93@newsread4.arcor-online.net> <2o3wvkpwoqv8.11k4w9yehrxxx$.dlg@40tude.net> <42b7fcde$0$15419$9b4e6d93@newsread2.arcor-online.net> <42b8803d$0$1140$9b4e6d93@newsread4.arcor-online.net> <5k89l0blbw5m.tlbbgh2pji8x.dlg@40tude.net> In-Reply-To: <5k89l0blbw5m.tlbbgh2pji8x.dlg@40tude.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <42b9e52a$0$15427$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Date: 23 Jun 2005 00:24:43 MEST NNTP-Posting-Host: 0a9cc376.newsread2.arcor-online.net X-Trace: DXC=4>X`M]33;>`;XK28C2J>>hQ5U85hF6f;djW\KbG]kaMhXSE8@R32 Dmitry A. Kazakov wrote: > But for data exchange there are better techniques than XML. Such as ...? > Then you cannot talk about numbers transferred. You said "3.15" is a text. > So let it be a text. "3.1 5" is also a text, as valid as "3.15" [at this > level of abstraction.] How is a number transfered from one human to another? How do you explain the number three to a person who cannot see? > [sending two literals instead of one] > The true value is always within the bounds. There is still a > problem, but a much lesser one. I don't agree because you are actually introducing two intervals. And mine might be different from yours anyway. So why not use "3.15" as per the needs of the application? > Relevant errors are only ones made by humans. Ahh, no. Think of the last time you have been watching satellite TV with a strong cloud in the way. Where is your nice data stream... (No I'm not suggesting XML here, of course, but satellites aren't just used for MPEG streams. They can transmit XML data too.) > [I don't talk about writing, because to write > in XML is beyond anybody's capability anyway.] I suggest you have a look at oXygen or nXML mode for Emacs, or PSGML mode for Emacs. (Serna is also nice, though it is, uhm, stabilizing.) They all provide functions similar to a good programmer's IDE, analysing source text to help you with typing, inserting completions automatically, running the validator in the background etc. (In fact, XML lends itself well to syntax directed editing, whether you see the tags or not. :-)) > Humans are unbeatable in pattern recognition. This is whole idea behind > tables. Tab stops and lines are very easy patterns to detect and any error > becomes immediately visible long before inspecting the table contents. Right. So next time someone sends you an HTML table full of data, use this for a start, to get a nice plain text table. (It's verbose, I know :)