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

RE: XML and (K)Office

  • From: David Megginson <david@m...>
  • To: "XML Developers' List" <xml-dev@i...>
  • Date: Thu, 25 Mar 1999 06:55:50 -0500 (EST)

RE: XML and (K)Office
Matthew Sergeant (EML) writes:


 > > Anyway, let's get this right -- I think that it's healthy for
 > > both Gnumeric and the KOffice Spreadsheet program both to exist,
 > > but there is no excuse for them to use entirely incompatible
 > > formats.  As a matter of fact, if we could convince KDE and Gnome
 > > to use compatible XML formats for lots of things (like interface
 > > construction), the media's predictions of a Linux fracture will
 > > be proven to be hot air.


 > Although I agree to an extent, if they have different feature sets
 > it's pretty unlikely that you're going to get an entirely perfect
 > agreement on a spreadsheet DTD.

I disagree *very* strongly -- with Namespaces, we can design a common
format for the 90% of functionality that the two spreadsheets actually
have in common (text cells, data cells, basic formulas, general
formatting information [font, alignment, colour, size], etc.)  and
then allow each to provide extended information
unambiguously-delimited through the use of separate namespaces.

The more material in the common spec, the better interoperability.
Linux needs to set an example here.

 > However, that's the beauty of XML. Writing a converter from one
 > format to another is trivial in the extreme, so it's not a huge
 > issue in my (humble) opinion.

For n XML-based formats, we need (n * (n - 1)) converters.  If there
are only two different XML-based spreadsheet formats, then we need
only two converters:

 a => b
 b => a

If there are three XML-based different formats, then we need six

 a => b
 a => c
 b => a
 b => c
 c => a
 c => b

If there are four different XML-based formats, then we need twelve

 a => b
 a => c
 a => d
 b => a
 b => c
 b => d
 c => a
 c => b
 c => d
 d => a
 d => b
 d => c

Add a couple more, and the problem definitely isn't easy by any
definition.  Ten different XML-based formats requires 90 converters,
and a change to only one of the formats will require changes to (2 *
(n - 1)), or 18 converters!

All the best,


David Megginson                 david@m...

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/ and on CD-ROM/ISBN 981-02-3594-1
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...)


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.
First Name
Last Name
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.