Re: identifiers and modules



Marco Antoniotti wrote:
Ulrich Hobelmann wrote:

Ray Blaak wrote:

XML is great if used in small doses. When its full schema bullshit is used it
is an abomination, and example of computer geeks doing a giant community brain
fart, without even realizing it, and without recognizing how much more time
and effort is now wasted.

It is complete masturbation.

That might be the best characterization of XML I've read so far. Thanks. :)

XML is S-expressions in a drag :)

From http://homepages.inf.ed.ac.uk/wadler/topics/xml.html#xml-essence ("The Essence of XML"):


"XML is touted as an external format for representing data. This is not a hard problem. All we require are two properties:

* Self-describing: From the external representation one should be able to derive the corresponding internal representation.

* Round-tripping: If one converts from an internal representation to the external representation and back again, the new internal representation should equal the old.

Lisp S-expressions, for example, possess these properties.

XML has neither property. It is not always self-describing, since the internal format corresponding to an external XML description depends crucially on the XML Schema that is used for validation (for instance, to tell whether data is an integer or a string). And it is not always round-tripping, since some pathological Schemas lack this property (for instance, if there is a type union of integers and strings). So the essence of XML is this: the problem it solves is not hard, and it does not solve the problem well."


Pascal

--
My website: http://p-cos.net
Closer to MOP & ContextL:
http://common-lisp.net/project/closer/
.



Relevant Pages

  • Re: Singles to Doubles
    ... If you're saying an internal representation of 1.11 should be displayed as 1.1100 externally under all circumstances, that can't be unless it is one of the set of reals than can be represented exactly. ... If otoh it can't be represented exactly as a Single, then the likelihood that it can in Double isn't zero, but the problem of translation to/from the external representation arises, as does that of promotion. ... google on "floating point conversion" or similar and amongst the zillion of hits pretty early on there will be sites that have floating point calculators that you can type numbers into and see their internal representations. ...
    (microsoft.public.vb.general.discussion)
  • Re: Python AST as XML
    ... >XML can be considered as an external representation of in-memory ... XML is a clumsy _internal_ ... Python is some Python source, ... XML-related protocols don't process data, ...
    (comp.lang.python)
  • Re: How about the future of VC++/MFC
    ... of the enum doesn't matter, but being able to convert it from an external ... to an internal representation does. ... The external representation is not ... this it is perfect for serialization (considering that serialization ...
    (microsoft.public.vc.mfc)
  • Python AST as XML
    ... XML can be considered as an external representation of in-memory ... theirs parse trees. ...
    (comp.lang.python)
  • Re: Question about XML::Simple [was: XML to inMemory Hash]
    ... me a very simple way to get easy access to the xml data. ... There is no single consistent internal representation of an XML document, ... In addition it generates a Perl structure of heavily nested arrays and hashes ... makes it difficult to write concise code ...
    (perl.beginners)