Squeak as Metaverse reminds me of something concrete...

Florin X Mateoc mateoc_florin at jpmorgan.com
Thu Jul 20 15:36:07 UTC 2000


But one of the problems that XML (and its companions) is supposed to solve is to
model the world, which is also what objects are trying to do (a little more
successfully I would add).
Are you really trying to say that the XML representation captures the
interpretation-independent "essence" of things (like your example seems to
suggest)?
Yes, it would like to do so, it would be nice if it could, the hype surrounding
it suggests it does. To me it does not look like a significant step towards this
ideal.

Florin





ok at atlas.otago.ac.nz on 07/19/2000 11:15:33 PM

Please respond to squeak at cs.uiuc.edu

To:   squeak at cs.uiuc.edu
cc:   (bcc: Florin X Mateoc)
Subject:  Re: Squeak as Metaverse reminds me of something concrete...




Alan Kay <Alan.Kay at disney.com> wrote:
     But all this misses the big point, which is that XML is a data
     structure that doesn't carry its interpretation around with it (i.e.
     it is not an object), and thus it falls prey to having many
     interpreters that have little chance of agreeing on the meanings of
     data. I hope that any one on this list would and could argue that
     what needs to be sent around to deal with the problems that XML is
     supposed to solve is something that is protected, encapsulated, and
     knows what interpreter must be used to give it meaning -- again: an
     object.

But one of the problems that XML is supposed to solve, and *does* solve,
is allowing *multiple* interpretations of a single data structure.  The
development of SGML was a very conscious stepping *back* from interpretation.

It's perfectly true that many of the things XML is being used for *would*
benefit from being objects instead, but that just tells us that sometimes
XML is used appropriately and sometimes it isn't.

For an example:
    a chemical formula may have an interpretation as text,
    an interpretation as a 3d stick-and-ball diagram,
    an interpretation as a 3d balls-wedged-together diagram,
    an interpretation as a 2d diagram,
    an interpretation as a mention of such and such functional groups,
    an interpretation as speech signals in some human language,
    ...
    your imagination is the limit.
It may need to have more than one of these interpretations at the same
time (say for display and for searching).  And it may have interpretations
in the future that it doesn't have yet.

One of the key ideas behind XML was that XML processors should be able to
handle tags and attributes they've never heard of before, so that an
application can get on with the information it _does_ understand without
hanging forever waiting for an object to connect to a remote site (or
reformat a hard disc...).

If you just take XML as a fairly modest step up from flat ASCII files
(that is accreting a lot of features...) then you'll neither overestimate
nor underestimate XML.








This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan & Co. Incorporated, its
subsidiaries and affiliates.





More information about the Squeak-dev mailing list