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

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

  • From: Paul Prescod <papresco@t...>
  • To: xml-dev@i...
  • Date: Fri, 17 Apr 1998 15:56:27 -0400

xml serialization inheritance
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@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.