[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

  • From: Paul Prescod <paul@p...>
  • To: xml-dev@i...
  • Date: Wed, 25 Nov 1998 08:50:44 -0600

Re: Serializations and data structures (was Re: Topic Maps onSQL)
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:
http://www.udhr.org/history/default.htm

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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.