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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Inheritance in XML (was Re: Problems parsing XML)

[ Lists Home | Date Index | Thread Index ]
  • From: Paul Prescod <papresco@technologist.com>
  • To: xml-dev@ic.ac.uk
  • Date: Fri, 17 Apr 1998 15:56:27 -0400

Jeff Larson wrote:
> 
> Certainly there is a lot that can and should be done with XML, but I'm
> not convinced its any universal data representation panacea.

I don't think that anyone ever claimed it was (well, perhaps the press).

But that doesn't mean that the fervour is misplaced. When is the last
time you came across a technology that was an "xxx panacea" where "xxx"
can be anything? If we only got excited about panaceas, we would live in
a pretty boring industry. XML makes the job of defining new
easy-to-read, easy-to-parse, easy-to-understand languages much, much
easier. You can go out of your way to undermine those features if you
want. You can also ignore them. But on average, we will be better off,
which is something to get excited about.

> Take for example an Excel spreadsheet.  This is essentially the binary
> serialization of a complex data structure.  Assume that magically this
> becomes an XML document, what now?  You can't reason about this in any
> meaningful way without understanding the semantics of every element.
> Assuming the semantics are documented, you might be able to extract
> information from it (which makes it worth having), but it is doubtful
> that you can modify it reliably.

You can modify it reliably if the DTD/schema is complete. If not, you
guess, just as with a partially documented API.

> In theory we're now "free" to
> implement our own spreadsheet editor on top of this "open" data model,
> but is that really going to happen?  No, we'll continue to use
> the API provided by the vendor because its the implementation of the
> semantics that's the hard part.

Not in my experience. There are dozens of tools that I can download that
work with RTF, Frame MIF or PDF, and a small handful that talk to the
Word, FrameMaker or Adobe Acrobat APIs. Furthermore, the formats
described above have multiple independent implementations. The APIs do
not.

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

[Woody Allen on Hollywood in "Annie Hall"]
Annie: "It's so clean down here."
Woody: "That's because they don't throw their garbage away. They make 
        it into television shows."

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