Re: Data table text I/O package?



Georg Bauhaus wrote:
> Jacob Sparre Andersen wrote:

> > Unlike Ada, XML is _not_ human-readable.
>
> First, this has been claimed many times without even an indication
> of why this might be so. Again, compare
>
> <Date year = "2006" month = "December" day = "24"/>
>
> and
>
> Date'(year => 2006, month => -"December", day => 24);
>
> Could it be that you just don't like reading angle brackets?

I definitely don't like reading _any_ brackets, when I'm looking at
data.

> Do the <...> smell like C++'s template parameter brackets?

They may. But neither of the above two notations are sensible, when I
am playing with 30 × 55k matrices.

> Again, habits? I won't say that XML *looks* nice, but it's purpose
> is not to look nice, this is not a Miss Dataformat Competition where
> you cannot win without rounded curves o.K. by the lates fashion.
> XML is supposed to support identifing data in text form.

Yes. But for tabular data XML has much too much overhead and is thus
too difficult to read.

> > And if I want an error-correcting file format which isn't
> > human-readable, there are plenty to choose from, which are faster than
> > XML.
>
> Such as...?
> ASN.1 perhaps?

I am not sure if ASN.1 includes error-correction, but it was one of
the options I had on my mind, when I wrote the sentence. A much more
effective format would be based on an instantiation of Ada.Direct_IO
with some kind of checksum included in Element_Type. My astrophysics
colleagues also have a nice format for multidimensional tables, but I
can't remember the name at the moment.

Jacob
--
CAUTION
BLADE EXTREMELY SHARP
KEEP OUT OF CHILDREN
.



Relevant Pages

  • Re: Sane Syntax
    ... vital role in the future of TeX but we need some more human friendly ... Generating well formed LaTeX2e documents from XML ... Another approach is to convert existing documents to XML format and go ... TEI, together with DocBook, are the two ...
    (comp.text.tex)
  • Re: XHTML vs HTML
    ... to be the predominant type of HTML used on the web for many years yet. ... First, it is XML. ... XHTML is also ... transformed using XSL from and into virtually *any* other data format. ...
    (microsoft.public.frontpage.programming)
  • Re: text to bibliography?
    ... to xml: you can store binary data in an xml file. ... including your well-formattedbibliography(no longer in xml format). ... It is in annotated bibliographies (something Word 2007 does not ... that %I is actually the field representing the publisher. ...
    (microsoft.public.word.docmanagement)
  • Re: Future of LISP. Alternative to XML. Web 3.0?
    ... using s-expressions instead of XML, nobody is going to use it, ... because it's cheaper to keep the existing XML software and continue ... XML-MAIDEN format or to HTML format and next displayed via standard ... or a CanonML or LISP browser. ...
    (comp.lang.lisp)
  • Re: Data table text I/O package?
    ... It has bracketing: rows and columns. ... As a medium XML is as awful as readable. ... > tell you not to use an internal type when it suits your application. ... is irrelevant to the data format used. ...
    (comp.lang.ada)