OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Serializations and data structures (was Re: Topic Maps onSQL)

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Prescod <paul@prescod.net>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 25 Nov 1998 08:50:44 -0600

Lars Marius Garshol wrote:
> Ideas are definitely more fundamental than sentences (seen as waves of
> sound or ink embedded in paper) could ever be. However, the sentence stored
> as a sequence of characters, ideas that are so simple that they remain
> constant for centuries.

So your fundamental argument seems to be that character data is simple and
thus more reliable and long-living. I agree. That's why I use XML.

> When you read the sentence 'All is suffering', would you claim that your
> head then contains the exact same idea that Siddharta Gautama (Indian
> prince who lived in the 6th century b.c., also known as Buddha) had? 

No, I was careful to qualify that *in the domain of XML* we can retrieve
ideas losslessly, because the idea is very simple, and can be defined in
terms of mathematical formalisms.

> This is all based on a hidden assumption: that all tools interpret and
> implement the grove model in exactly the same way. 

Interpret. Yes. Implement? No. As long as the API represents the model
faithfully, the underlying implementation can be whatever it wants. 
(or maybe you mean the implementation of the API must be the same...
that's true). Anyhow, the model is a mathematical formalism designed
specifically to disallow alternate interpretations.

> Can you really guarantee
> that for something as complex as groves for decades? There'll be no
> disagreement on the actual sequence of bytes in the files, but their
> interpretation in terms of the abstract grove is another thing entirely.

Disagreement on the actual sequence of bytes in the files is irrelevant.
If I can't get the moral equivalent of the same grove, ESIS or 
SAX events out of it that the creators intended then I am working with
different data (at the logical level) than they are. The fact that I
have the same bytes is not very comforting if the software that 
processes it fundamentally misunderstands it. ("I think that <HEAD>
is a synonym for <BOLD> and <!-- --> means emphasis.")

XML software can't work with serializations. It must work with the
data model! If that doesn't survive, all is lost. If the data model
a wishy, washy and implicit like that in the SGML and XML
specs, then the data is in danger of mild logical corruption as people
come to understand it differently. "What did Tim mean by this? And 
this?" If it is a well-defined formalism then that danger is much 
smaller (eliminated?).

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

The United Nations Declaration of Human Rights will be 50 years old on
December 10, 1998. These are your fundamental rights:

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS