Partager via


ODF Spreadsheet Interoperability

Rob Weir posted on his blog a couple of days ago an Update on ODF Spreadsheet Interoperability.  I think it’s great that he has brought up spreadsheet interoperability, and specifically the issue of formulas, which seems to be the main thrust of his post.  I mentioned on the day of our SP2 release last week that “I’ll be doing some blog posts that get down into more of the technical details, to help explain some of the engineering decisions that we made in our implementation,” and Rob’s post is a good starting point for that conversation.

For those who only want to read the first two paragraphs of this very long post, here’s a summary:

  • ODF’s lack of spreadsheet formula syntax creates some interoperability challenges;   Because ODF 1.0 and 1.1 do not support formulas, all ODF spreadsheet implementations are application-dependent
  • We’ve worked hard to overcome these challenges in ways that provide accurate results and predictable interoperability
  • We have been fully transparent about the decisions we’ve made in our ODF implementation, both in terms of the guiding principles we’ve followed and also the specific details published in our implementer notes 
  • The Open Formula specification is not yet a standard, so we do not support it in its unfinished state, but we will look closely at Open Formula when it becomes a standard and make a decision then about how to best proceed

Before I get into the details, I think it’s worth noting that there’s nothing new here.  The challenges of ODF’s lack of formula specification have been around for a long time, and many people saw the current situation coming.

Nearly three years ago, Stephen McGibbon had a good post covering the situation, which is worthwhile reading for some background on how we got to where we are today.  As you can see from the quotes in Stephen’s blog post, many people in the ODF community – and the broader standards community – were dismayed at the decision to not include formula syntax in ODF.  Others outside of Microsoft also pointed out the problem years ago.  Rob’s blog post, as well as this post, are excellent examples of the sorts of interoperability challenges that those people saw coming as a result of the decision to not include formula syntax in the ODF standard.

Testing Methodology

The first thing I did upon reading Rob’s post was to try to follow his steps for myself, so that I could understand the context of his findings.  Here’s the methodology he describes in his post:

The test scenario I used was a simple wedding planner for a fictional user, Maya, who is getting married on August 15th. She wants to track how many days are left until her wedding, as well as track a simple ledger of wedding-related expenses. Nothing complicated here. I created this spreadsheet from scratch in each of the editors, by performing the following steps:

  • Enter the title in A1 "May's Wedding Planner" and increased font size to 14 point.
  • Enter formula = TODAY() in B3 and set US style MM/DD/YY date format/
  • Enter the date of the wedding as a constant in cell B4, also setting date format.
  • Added simple calculations on cells B6-B8, to calculate days, weeks and months until the wedding.
  • A11 through E16 is a simple ledger of the kind that is done thousands of times a day by spreadsheet users everywhere. Once you have the formula set up in column E (Balance = previous balance + credits - debits) then you can simply copy down the formula to the new row for each new entry

Sounds simple enough.  So I fired up Open Office 3.0.1, and followed those steps.  The resulting spreadsheet looked like this:

image

Then I saved the document, by clicking File/Save and then typing in a filename:

image

So far so good.  Next step, I tried opening the document in IBM Lotus Symphony version 1.2.0.  Here’s what I saw:

image

And then I opened the same document in Excel 2007 SP2, and here’s what I saw:

image

This is a great example of a common ODF spreadsheet interoperability challenge, and two different ways of dealing with it.  The challenge is caused by the fact that Open Office writes formulas in a syntax that is unknown to Symphony and Excel.  Open Office, for reasons I don’t understand, has decided to use as their default formula syntax the unfinished Open Formula specification, which is neither approved nor published by OASIS – not even out for public review yet.

So what do Symphony and Excel do about this challenge?  The answer is that Symphony preserves the (unrecognized)  formula markup, and Excel preserves the cached values.  (A quick aside for those who don’t know: spreadsheets typically store both the formula and the value resulting from the most recent recalculation.)

Getting back to Rob’s initial premise of this being a typical wedding-planning exercise, if Maya were to send this spreadsheet to a person using Microsoft Excel SP2, that person would see the values as shown above.  They’d know at a glance what day was ‘today’ when Maya made the file, and that the ledger balance that day was 5500.

But if Maya were to send this spreadsheet to a person running IBM Lotus Symphony, they’d see only the formulas.  Perhaps an ODF markup expert like Rob would be able to massage that spreadsheet into something usable, but most people would find it a bit hard to conceive of what it means for a wedding to be “of:=B4-B3” days away, or for there to be a ledger balance of “of:=E15+C16-D16” dollars.

So what does Rob’s test matrix show for these two scenarios?  Oddly, it labels Open Office to IBM Lotus Symphony interoperability for this scenario as “OK” and it labels Open Office to Microsoft Office SP2 interoperability as “Fail” (with a red background for added emphasis).  Now, I know Rob works for IBM and probably wants to portray Symphony in the best possible light, but is that a reasonable assessment of the interoperability we’ve just seen above?

After further investigation, though, I think I see what Rob may have actually done to get the result in his table.  He seems to have included some steps that aren’t documented in his blog post:

  • In Open Office Calc, he went into Tools, Options, Load/Save, General.
  • For “ODF format version” he changed the setting from “1.2 (recommended")” to “1.0/1.1 (OpenOffice.org 2.x)”
  • The dialog then warned him that “Not using ODF 1.2 may cause information to be lost.”
  • He clicked OK to save the change.

Here’s how it looks, for those who don’t have Open Office handy:

image

After following these steps, Rob was then able to create a spreadsheet that stores formulas in the undocumented non-standardized syntax that was used by old versions of Open Office.  Symphony, being simply a fork of an older version of the Open Office code base, is able to understand those formulas, so it can load both the values and the formulas themselves.

It’s worth noting what the OpenOffice.org developers have to say about this option that Rob has apparently used for his interoperability testing:

image

So it sounds like there isn’t any single version of ODF that will provide compatibility across all versions of Open Office and Symphony.   You can use the “may cause information to be lost” option if you want to do a demonstration of formula interoperability with ODF, but if you want to demonstrate text-bullet interoperability, you may need to use another option.

And what does Excel 2007 SP2 do with the document saved in this alternative format?  Exactly the same thing it does with Open Office’s current default format: it displays the data, so that the document user can see the results of the last recalculation of the spreadsheet, and it ignores the formulas that are written in a non-standardized syntax that Excel doesn’t support.  I think that’s a pretty reasonable approach, when a spreadsheet application comes across non-standardized formula syntax: show the last recalculated result, thus preserving the data, and don’t try to guess at the semantics of undocumented formula markup.

Why Doesn’t Office 2007 SP2 support Open Office formula syntax?

That’s a logical question to ask, in regard to how SP2 handles formulas.  To answer it accurately and completely, we should distinguish between the two formula syntaxes that Open Office uses.

The first is the syntax they use in their non-recommended “1.0/1.1 (OpenOffice.org 2.x)” setting.  This is an undocumented, deprecated syntax, and therefore not a reliable mechanism for formula interoperability.  Despite what you may read on some blogs, it is not the same syntax as used by Excel 97/2000/2003.  Open Office copied quite a bit of the feature set from Excel, and there are definitely similarities in the formula syntax, but there are also differences with regard to referencing, operators, data types, and function arguments.

The other formula syntax that Open Office supports is the Open Formula syntax, which will eventually appear in ODF 1.2.  This syntax has not yet been approved by a standards body, nor has it undergone the 60-day public review period that OASIS requires prior to approval and publication.  It may go to public review soon, but it won’t be a standard until later this year at the soonest, and the details may change as a result of the remaining TC work and the public review process.  (According to recent discussions in the ODF TC, we may send the other parts of ODF 1.2 out for public review first, to allow more time to finish up Open Formula.)

In Office’s implementation, we haven’t chosen to support the draft Open Formula spec (as Open Office currently does), because we have certain obligations when we ship software that don’t apply to open-source projects like Open Office.  We need to test and verify behavior to a degree that’s not possible without final, fixed documentation that is believed to be 100% complete and accurate.  When Open Formula is completed, standardized, and published, we'll be looking at that as the future path for enabling formula interoperability in ODF spreadsheets.  But we’re not there yet; ODF 1.2 is not done, and not even ready for public review.

It’s interesting to note that we have discussed this very issue at a DII workshop.  Last July, we had a workshop in Redmond, with attendees including other ODF implementers, members of the ODF TC, standards professionals, and others.  In the roundtable discussions, I brought up our approach to formula support as outlined above, and asked for feedback.  Although it was not 100% unanimous, there was clear consensus among most of the participants in the discussion that they did not want us to implement a non-standard formula syntax in anticipation of it becoming a standard.  “Putting the cart before the horse” in that manner was seen by many as a possible source of future interoperability problems, rather than a solution to them, and we took that feedback into consideration.

As I’ve covered before, we feel that thorough documentation of implementation details is a cornerstone of document format interoperability.  We’ve published detailed implementer notes for our ODF implementation, and on the matter of formulas (which are stored in the table:formula element), here’s what our implementer notes have to say:

The standard defines the attribute table:formula, contained within the element <table:table-cell>, contained within the parent element <office:spreadsheet \ table:table-row>

This attribute is supported in core Excel 2007.

1. When saving the table:formula attribute, Excel 2007 precedes its formula syntax with the "msoxl" namespace.

2. When loading the attribute table:formula, Excel 2007 first looks at the namespace. If the namespace is “msoxl”, Excel 2007 will load the value of table:formula as a formula in Excel.

3. When loading the table:formula attribute, if the namespace is missing or unknown, the table:formula attribute is not loaded, and the value “office:value” is used instead. If the result of the formula is an error, Excel 2007 loads the <text:p> element and maps the element to an Error data type. Error data types that Excel 2007 does not support are mapped to #VALUE!

And, as both Rob’s tests and mine show, that is exactly what Excel does.  It would be great if there were a place implementers could go to see these sorts of details for all major ODF implementations.

Summary

I’m glad to see this sort of public scrutiny of the details of ODF interoperability and how the underlying challenges are handled by various implementations.  As you can see, spreadsheet interoperability is a complicated topic, and in the specific case of ODF spreadsheets, there is even more complexity created by the lack of a defined formula syntax in any published version of ODF.

The good news, when it comes to formulas, is that the Open Formula specification will address this area soon.  My colleague Eric Patterson represents the Excel team in the Open Formula SC, and the very capable David Wheeler leads that group.  Much good work has been done already, and we look forward to seeing the final Open Formula spec go out for public review and then approval by OASIS.  The nearly 400 pages of formula syntax documentation in ISO/IEC  29500 (Part 1, section 18.17) enables reliable formula interoperability in the Open XML community, and soon the ODF community will have a similar level of formula interoperability.

But formulas are not the only ODF interoperability challenge.  As members of the ODF TC and also the OIC (ODF Interoperability and Conformance) TC, both Rob and I – and many others – will need to work together to enable better interoperability in areas including tracked changes, mail merge, application settings, and others.  Will ODF 1.2 be the most interoperable version of ODF yet?  I hope so, and there are signs that it will be.  But our work is not nearly done.

Comments

  • Anonymous
    May 05, 2009
    PingBack from http://asp-net-hosting.simplynetdev.com/odf-spreadsheet-interoperability/

  • Anonymous
    May 05, 2009
    The comment has been removed

  • Anonymous
    May 05, 2009
    The comment has been removed

  • Anonymous
    May 05, 2009
    Hi Jomar, thanks for the kinds words.  The feeling is mutual. Regarding Mary's spreadsheet, I think she's actually in a very good position here.  Seriously, hear me out ... Her future husband may have had concerns about the presence of undocumented formula markup in her document, which does not conform to any published standard.  He may have worried that this implied a lack of principles on her part; a questionable willingness to set aside open standards in pursuit of some other short-term objective. But now, he sees that she has removed that markup from her document, and it is 100% open-standards compliant.  And it still contains their data, the most valuable piece of the puzzle.  Hooray!  "Thank you, Mary," he says, "for assuring that we will start our life together in true conformance to open standards, with no non-standard markup in our documents."  And they live happily ever after. :-) Of course, after Open Formula is published, the story could get even better!

  • Anonymous
    May 05, 2009
    Hi Rob, First off, let me apologize: I didn't notice that you were using Symphony 1.3.  My mistake.  I'm sure you can see how, with Symphony 1.2 installed (the currently available version from your web site at http://symphony.lotus.com/software/lotus/symphony/home.nsf/home), I had the experience that I did. So when will Symphony 1.3 be released?  Is there a way for me to get it now?  I'd love to do some interop testing with it. And regarding the good interoperability between Symphony 1.3 and OpenOffice 3.0 that you've described, you seem to be saying that that's based on the unpublished, unapproved, not-yet-ready-for-public-review ODF 1.2 spec, correct?  What happened to the importance of conformance to open standards?  Does that matter this year? Oh, by the way -- do you intend to update your test grid to reflect Kspread beta's ability to interoperate with Office 2007 SP2?  Or does your testing methodology only allow for pre-release versions of IBM products? Cheers, Doug

  • Anonymous
    May 05, 2009
    The comment has been removed

  • Anonymous
    May 05, 2009
    Hi Doug, I find your arguments weak at best. Would a published, peer-reviewed standard be the best solution? Absolutely. Is it the only way to achieve interoperability? Of course not. Sometimes you have to simply mimick what other software does. Which is exactly what all other ODF implementations do. The only one that fails this formula test so miserably is Office 2007 SP2. Which shows the world that interoperability is possible, but it was not important (enough) to you. By the way, how did you manage to be interoperable with Lotus 1-2-3? A simple pointer to the published standard describing the document format (including formulas) is enough. Thanks. Stephan

  • Anonymous
    May 06, 2009
    Doug, I'll pass you name on to our beta program people and see if they can get you a copy. I'd be happy to add KOffice 2.0 RC to the list, and in fact I wrote to the KOffice guys before I wrote that blog post, to see if I could get them to run some test cases, but I didn't hear back in time.  The structure of the test requires that I not only test KSpread/SP2, but test all of the other combinations involving KSpread and KSpread-authored spreadsheets as well.  When I have that info, I'll update the table.  Ditto for any other product updates that come along.  The only one that is tricky is Google, since it is not obvious when they have updated their code.  It could be different an hour from now than it is now.  That's the nature of the beast with web-based editors.  So to be safe I retest with them any time I re-test any other editor. The recommended approach is to conform with open standards where available and then do what ever additional work that is required to be interoperable, so long as that is not incompatible with conformance.  Using draft ODF 1.2 formulas in an ODF 1.1 document is still conformant to the ODF 1.1 standard.  First, your spreadsheet formulas are not conformant with the ODF 1.1 standard.  And second, you could have easily made them be both conformant and interoperable.  In fact you already have the code to do this from your ODF Add-in.  Using the excuse, "The standard made me do it" doesn't cut it, since it is not true.  You could have been cboth onformant and interoperable.  But you ended up being neither. I'd suggest that all ODF vendors add Doug Mahugh to their beta testing program.  Microsoft clearly needs some help finding their way to doing interoperability testing before they ship nonconforming ODF code to millions of people.

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    Rob, I understand the pragmatic nature of this, of course, but aren't "conventions" what we are trying to avoid? If everyone gets too comfortable with these conventions, then it could lead to OpenFormula being redundant, with the all-too-common slide down to the simplest lowest common denominator by vendors outside the "boxing ring". In any case, Microsoft have to be more careful than most with their approach to standards, you might have noticed. As Doug said, the philosophy and guidance on the implementation was known well in advance.  Perhaps a formal request and a pass for using "conventions" instead of standards from the ODF / OOO good and the great might have enabled them to do so without fear being accused of any wrongdoing. Conventions of a canonical app (Office) have been deemed very bad, historically.  Equitably, conventions of a canonical app (OpenOffice) must be seen in the same light. However, the world still turns happily, as the vendor who created the conventions (Sun) has created a plug-in which works with Microsoft Office to perpetuate these conventions in documents produced and consumed by Microsoft Office.   Everyone is happy.  Now if Microsoft had made it so the plug-in would not work, giving an error message with some heavy threats about standards etc etc, then we could rightfully be up in arms. We still have the choice, don't we? Gareth

  • Anonymous
    May 06, 2009
    Gareth, read my words more carefully.  I never said to not use the standard, or to use conventions instead of the standard.  I said to use common conventions to supplement the standard where needed to provide interoperability.  And this particular convention, although it may be in the OO XML namespace, is hardly an OO-specific convention.  As my tests showed, this convention is supported by every other ODF spreadsheet editor I tested, except for SP2.  So you cannot just explain it away by saying it is OO-specific.  Perhaps it originated in OO years ago. But everyone, even Microsoft's own ODF Add-in for Excel, supports that convention.  But not SP2 for reasons that have still not been explained.

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    Doug, the analogy would be this:  If we supported the legacy Office binary spreadsheet format, as do all spreadsheet applications that I know of, then we would look to the available specification, which Microsoft resurfaced last February after a decade's absence.  But when we look in that binary format specification we find that has no coverage of spreadsheet formulas.  Zero. Zip.  Nada.  So what should we do?  Indeed, what did we and every other vendor do in that situation?  We looked around, found what the prevailing convention was and coded to it. You seem to be arguing that in that situation each vendor implementing the legacy binary format should make their own choice as to formula language and create non-interoperable documents.  Does that really make sense for the customer?   Certainly move the convention into a standard.  That is what a convention is in the end -- a formalized convention.  But to replace an widely held convention and an emerging standard in a committee which you are a member of, with a divergent approach that is non-interoperable with any other vendors and indeed not compatible with your own ODF Add-in's documents, this defies reason.

  • Anonymous
    May 06, 2009
    Well, our "divergent approach" as you call it is based on the one and only approved and published standard for formula markup that exists, as of today. If we're going to write formulas, that seems to me a pretty logical approach.  And when there's another published standard for formula markup, we'll look at that option as well (as I said above).

  • Anonymous
    May 06, 2009
    Rob, So as I understand it, when Microsoft add extensions to an existing standard, as OOO does with formulas on top of ODF, it is called "Embrace, extend and extinguish" and is the vilest evil to ever have been visted on the earth, but when it's not Microsoft, they are merely "conventions" which should be supported by all other vendors in an ecosystem. See "The Strategy" section in: http://en.wikipedia.org/wiki/Embrace,_extend_and_extinguish Squirm in the irony of this when applied to OpenOffice + ODF. I know this is expressed in a rather emotive way, but purely to illustrate the point. One could say that one man's evil extensions are another man's conventions. Of course I read your words carefully, and my response reflected that.  I said standards + cruft, not cruft without any standards. As I said before, maybe this is a harsh implementation, but this is the post-EU-slapdown Microsoft, they have to be wary.  They don't want to be accused of being complicit in EEE by proxy for OpenOffice ;-) And again, you can still use the Sun plug-in.  They are the originators of said extension! Another thing - any response to my first question? "So I suppose the only difference is that the defaults are different in 1.3 ;-)  If that's really the only difference then I think we are all allowed a bit of a laugh at your outrage.  I hope there is a bit more to it than that.  A quick overview of the 1.2-1.3 changes that explain the new behavior would be good." Gareth

  • Anonymous
    May 06, 2009
    Hi Dough, It's funny to see your point: numbers only = data preserved (I bet that several economists will disagree with you, but ok). No additional comments :) Best, Jomar

  • Anonymous
    May 06, 2009
    dmahugh: "Well, our "divergent approach" as you call it is based on the one and only approved and published standard for formula markup that exists, as of today." Irrelevant for the following reasons:

  1. The OOXML formula language was not approved and published as a separate standard. Rather it is part of a larger specification. Thus, it was not approved as a general purpose formula language. It was approved as part of a larger specification.
  2. The OOXML formulas do not match the syntax of the formula examples given in ODF 1.1 subsection 8.1.3. For instance, they exclude the brackets around the cell references. Thus the OOXML formula language is not in keeping with the spirit of the ODF 1.1 specification.
  3. The OOXML formulas violate ODF 1.1 subsection 8.3.1 by failing to include a dot before the cell reference.
  4. OOXML formulas are not a standard, defacto or otherwise, for other ODF 1.1 implementations. From the main article: "Open Office, for reasons I don’t understand, has decided to use as their default formula syntax the unfinished Open Formula specification, which is neither approved nor published by OASIS – not even out for public review yet." I beg to differ: http://www.oasis-open.org/committees/documents.php?wg_abbrev=office-formula Latest draft is less than a week old. That's not public enough for you?
  • Anonymous
    May 06, 2009
    Gareth, this is not the time or place to announce the exciting new features in Lotus Symphony 1.3  You'll want to keep posted to http://symphony.lotus.com for that information.

  • Anonymous
    May 06, 2009
    @Dough, "Well, our "divergent approach" as you call it is based on the one and only approved and published standard for formula markup that exists, as of today." Well there is at least a big issue with this approach: the "approved and published standard for formula markup that exists" is NOT conformant with ODF 1.1 (there is no "." in front of the cell references).  So the OOXML formula syntax is NOT a possible choice if you want to respect the ODF standard. You can argue as long as you want, it is clear to everybody (even to you if you want to be honest) that this is again a trick used by Microsoft to break interoperability. But Microsoft making promises and not following them is no news: "the Commission notes that today's announcement follows at least four similar statements by Microsoft in the past on the importance of interoperability" http://europa.eu/rapid/pressReleasesAction.do?reference=MEMO/08/106 @Gareth, "this is the post-EU-slapdown Microsoft, they have to be wary." Well, Microsoft should be more wary then: "In its ongoing antitrust investigation concerning interoperability with Microsoft Office, the Commission will investigate whether the announced support of ODF (OpenDocument format) in Office leads to better interoperability and allows consumers to process and exchange their documents with the software product of their choice." http://europa.eu/rapid/pressReleasesAction.do?reference=MEMO/08/324 This is clearly a very bad start...

  • Anonymous
    May 06, 2009
    @Doug, let's have a closer look at your "Guiding Principles":

  • Adhere to the ODF 1.1 Standard: Failed.  The formula syntax used in SP2 does not adhere to ODF 1.1

  • Be Predictable: OK. You summarise this as "The principle here is that we want to do what an informed user would likely expect. "  Indeed, a user informed of Microsoft usage would likely expect that you find a trick to break interoperability.

  • Preserve User Intent: Failed.  The obvious intent of the user is to use formula, not to silently have them erased.

  • Preserve Editability: Failed.  As the formula are gone, you can no longer edit the file successfully.

  • Preserve Visual Fidelity: OK. I would say this is not a bright score...

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    Doug, we all understand you are deeply troubled by the failure of your employer to meet the expectations on a product update that is an exact match with your job title "Office Interoperability". However, I don't think it is a great idea to try and save face by telling lies and trying to pretend that nothing bad happened. Nothing you say can cover up the very obvious facts:

  1. Excel 2007 does not produce conformant ODF 1.1 documents. (Small but important issues with missing brackets and the leading dot.) That is not interoperability.
  2. Excel 2007 won't open any ODF 1.1 spreadsheet created by any other ODF-supporting software without silently crippling it by deleting all formulas. That is not interoperability.
  3. No other ODF 1.1 spreadsheet application will open an (almost-conformant) ODF 1.1 spreadsheet saved from Excel 2007. That is not interoperability. The actual product release certainly does not adhere to your own guidelines which you are quoting: "Adhere to the ODF 1.1 Standard", "Be Predictable", "Preserve User Intent", "Preserve Editability" and "Preserve Visual Fidelity". You need to admit that SP2 failed on at least three of five accounts here. (Deleting all formulas is bad but formally predictable behavior, and visual fidelity is preserved even by just importing a static table.) Excel 2007 is not interoperable through the ODF format, and does not yet deliver on your promises. Admit that, and maybe we can get on with fixing it instead of squabbling over why who did what. If you stay on your current path of denial, you will send the message that your job is not in fact "Office Interoperability", but something rather less honorable.
  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    "Imagine how much fun we'll have when we start discussing things that are actually there!" this is the problem here, you are arguing with a guy who has "fun" with standards. Standards are a serious thing, not a game nor a Public Relations statement.

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    The comment has been removed

  • Anonymous
    May 06, 2009
    Hi all,   I do seem to see a higher degree of conformance required by microsoft by others. If its not in the spec, it is not advisable to implement it. Let me take a case... why don't all browser manufacturers mimic internet explorer 6 to give practical interoperability.. This is because it is not the standard. Now u want microsoft to provide practical interoperability with ODF even though its not in the spec.???.. Seems pretty one sided to me..

  • Anonymous
    May 07, 2009
    The comment has been removed

  • Anonymous
    May 07, 2009
    @Luc Allthough the OpenXML/ODF translator was funded by Microsoft it is OSS software created by 3rd pary software producers and as such not belonging to any Microsoft software prodcut and I think it is safe to asume that Microsoft will not add OSS software snippets to their core software product as that would create possible license issues especially if someone were to reuse some GPL code in those sources.

  • Anonymous
    May 07, 2009
    Luc, as I said in my post we have certain obligations when we ship software that don’t apply to open-source projects.  I’ll cover some more details of this in my follow-up post on spreadsheet interoperability coming shortly.

  • Anonymous
    May 07, 2009
    Luc: "...I think it is safe to [assume] that Microsoft will not add OSS software snippets to their core software product as that would create possible license issues especially if someone were to reuse some GPL code in those sources."   You can't legally put GPL code into BSD at all, unless you're the author, in which case you'd probably be required to relicense the code under BSD in order to submit it to the project in the first place.   I think the whole issue of code reuse is beside the point, though. Microsoft has more than adequate resources to create whatever code they wish, especially when the development effort is directly associated with one of its primary sources of income: Microsoft Office. Of all parties involved, they are in the worst position to argue for choosing a formula language based on scarcity of resources.

  • Anonymous
    May 07, 2009
    doug, let me copy a snip of "code" from Weir's blog: "So, going back to my test spreadsheets from all of the various ODF applications, how do these applications encode formulas with cell addresses:    * Symphony 1.3: =[.E12]+[.C13]-[.D13]    * Microsoft/CleverAge 3.0: =[.E12]+[.C13]-[.D13]    * KSpread 1.6.3: =[.E12]+[.C13]-[.D13]    * Google Spreadsheets: =[.E12]+[.C13]-[.D13]    * OpenOffice 3.01: =[.E12]+[.C13]-[.D13]    * Sun Plugin 3.0: [.E12]+[.C13]-[.D13]    * Excel 2007 SP2: =E12+C13-D13 " I would like to know why Excel 2007 doesn't produce ODF 1.1 conformant documents, regarding this "cell address" thing. Thank you

  • Anonymous
    May 07, 2009
    carlos, a small correction:

  • OOo 3.0.1: of:=E12+C13-D13

  • Excel 2007 SP2: msoxl:=E12+C13-D13

  • Anonymous
    May 07, 2009
    The comment has been removed

  • Anonymous
    May 08, 2009
    @Clippy, carlos had it right the first time. In the Maya spreadsheet Rob Weir saved using OOo 3.0.1, the formula is "of:=[.E12]+[.C13]-[.D13]". This is a direct cut and paste. @carlos, Microsoft interprets the word "Typically" in section 8.1.3 as being infectious and recursive, converting everything it touches into non-normative examples. Thus, the content that a formula, cell addresses, and even all of section 8.3.1 become non-normative simply by being within seven degrees of the word "Typically". Never mind the fact that the specification makes perfect sense if you interpret "Typically" as only applying to having a equal sign at the beginning of the formula, as this example in 6.5.3 would indicate: text:formula='ooo-w:[address book file.address.FIRSTNAME] == "Julie"' Note the use of the brackets used for addressing are present, but the preceding equal sign is missing. Microsoft's interpretation of the ODF 1.1 specification is not necessarily a deliberate misreading, but even giving them that benefit of the doubt, they still ignored parts of the spec they considered informative to use the formula language that suited their interests rather than picking a widely used defacto standard that takes 8.1.3 and 8.3.1 to heart and promotes interoperability. The whole point of standards is to allow interchange. Anything else is just a subversion of the process.

  • Anonymous
    May 08, 2009
    Matthew, there's a long history how standards text is written and what's normative or not; ISO and other standards bodies have rules governing such details as well.  I think it's in everyone's interest for us to follow those precedents and rules, rather than making up new rationales for such things.  The entire reason such rules exist is so that we DON'T get into these little debates about things like "what the meaning of the word 'is' is." As I've mentioned, I'll cover all of this in my next blog post.  This discussion needs more facts and fewer opinions ... in my opinion. :-)

  • Anonymous
    May 08, 2009
    @Mathew: "The whole point of standards is to allow interchange. Anything else is just a subversion of the process." The pity is that subversion of processes is a standard at Microsoft  :-(

  • Anonymous
    May 08, 2009
    @Carlos The reason for several applications using the same cell referencing system is that this is used by OOo and that these applications implemented the existing OOo spreadsheet variation in ODF whereas MS has been  implementing the existing Excel spreadsheet variation in ODF and is using the cell referencing mechanism that Excel is using. It seems that the ODF 1.1 specification does not define normative specifications on how to reference spreadsheet cell or in fact anything normative about specifying spreadsheet content in an ODF spreadsheet.

  • Anonymous
    May 08, 2009
    thanks hAl doug, is that true? IMHO if it is, then this decision is totally inexcusable.

  • Anonymous
    May 08, 2009
    @Doug Mahugh: If there is no standard (yet) for formulas in ODF, i.e. not specified in ODF 1.1 and not published or finalized in ODF 1.2... then why do anything with formulas at all? Why do SP2, period? Or, if you prefer, if you wanted to do something useful, consider the document base. How many ODF documents exist, world-wide? How does that compare to the empty set of documents in "ODF" format produced by SP2 (before there was an SP2)? This is a document format issue, not an application issue. It doesn't matter as much how many installed versions of Vendor X software that read/write ODF - it matters how many of what "format" exist. So, why not take the approach of, "How do we build an SP that allows us to read the existing ODF files, and write them out again, so that the original author's software could open the result?" I don't think it is something a rocket scientist needs to suggest, at a DII meeting. Don't forget, too, that the OOo source was and is available for reference in implementing SP2. I suggest the path of least resistance in the marketplace, would have been interoperating regardless of the state of standards -- if you wanted to achieve any degree of interoperability. Name Withheld

  • Anonymous
    May 08, 2009
    בימים האחרונים שוחררה חבילת השירות השניה של Office 2007. אחת התכונות הבולטות של חבילת השירות הזאת היא

  • Anonymous
    May 08, 2009
    @gk: "Let me take a case... why don't all browser manufacturers mimic internet explorer 6 to give practical interoperability.. This is because it is not the standard." IE6 implements the HTML and CSS specifications. It simply does not conform to those standards. From what I can tell, Office 2007 SP2 can read/write ODF1.1 documents as specified. What is in question here is that the formulas are not specified in the current standard, but are being standardised in a separate formula standard that is being drafted and agreed upon that is ratifying what existing implementations and existing documents do. Where existing implementations - such as Symphony - do not conform at the moment, upcoming versions do to make them interoperable. I find it amusing that here Microsoft are saying "we can't do XYZ as it is not standardised, and is still in draft" whereas the upcoming Visual Studio 10 is supporting language features in the draft C++0x standard! It seems that Microsoft is suffering from split-personality disorder and is choosing which standards and draft standards to conform to that best suite Microsoft. Like IE being one of the few vendors that don't support Scalable Vector Graphics or MathML, instead going for a butchered hybrid that no-one else supports.

  • Anonymous
    May 09, 2009
    The comment has been removed

  • Anonymous
    May 10, 2009
    I think there are actually two issues. One is what is the most appropriate format for Office SP2 to save, in the interim new world of strongly-labelled formulas before Open Formula is released. The other is what formats Office SP2 should load successfully, in the interim new world of strongly-labelled formulas before Open Formula is released. The ODF spec clearly says that the namespace prefix can select the syntax. I don't have much problem with Microsoft exporting in Excel with a proper label, as the implementation notes say; it is up to other importing applications to add filters to get interoperability. The lag is just a ramification of the ODF 1.1 spec. But what is good for the goose has to be good for the gander. For load, the current approach in SP2 and the implementation notes is clearly deficient for interoperability. Instead of failing if the syntax is not Excel, trying it in the dot notation would be genuine interoperability.   This is nothing more than Postel's law: being conservative in what you send and generous in what you receive, which has proved itself a pretty good mindset for implementers.  

  • Anonymous
    May 10, 2009
    You're asking me about OS/2?!?  I was still at Harvard when OS/2 was being marketed.  You'll need to ask someone much older than me about that. To Doug's point on "typically", the question is when does the scope of that word end?  I suggest that it ends when the verbal phrase ends.  This is standard English usage.  Anyone is welcome to suggest an alternative reading, but you will need to state where the effect "typically" ends, and on what principle you make that reading.  Simply throwing your hands up and saying ,"Oh my, this doesn't follow ISO drafting guidelines for the preparation of standards, therefor it means anything I want, or maybe nothing at all, based on my whim" -- that doesn't cut it.  You need to state your principles and interpret the text that you have, not the text that you wish you had.

  • Anonymous
    May 10, 2009
    Thank you Doug. I don't expect Rob to answer my question. Nonetheless, another question arises, has IBM extended the above incentives to publications such as Groklaw? One fact that intrigues me is all the fuzz about document standards knowing Linux market share on the desktop at 1% unchanged during the past 8 years: http://tinyurl.com/d4rk4j and http://tinyurl.com/6myem6 The second fact that intrigues about all the fuzz on standards is the lack of a word processor and spreadsheet equivalent to MS Word and MS Excel in the Linux world until pretty recently: http://tinyurl.com/pv2w6w The last fact the intrigues me is the lack of good GUIs in the Linux world (which have 'borrowed' a lot from MS Windows) until only a few years ago: http://tinyurl.com/ode57y Why all of the sudden so much fuzz for document standards?

  • Anonymous
    May 10, 2009
    Rob, a key paragraph is: "IBM will offer employees incentives ranging from medals to IBM software or hardware to cash, depending on how much effort they put into OS/2. In return, says Lucy Baney, an IBM marketing executive, the company will ask employees to approach their neighbors, their dentists, their schoolboards. Armed with brochures and talking points, the IBMers will sing the praises of OS/2 as the solution to people's personal-computing needs." Let me refrase the paragraph for you: IBM will offer employees incentives ranging from medals to IBM software or hardware to cash, depending on how much effort they put into ODF. In return, says an IBM marketing executive, the company will ask employees to approach their neighbors, their dentists, their schoolboards. Armed with brochures and talking points, the IBMers will sing the praises of ODF as the solution to people's document needs.

  • Anonymous
    May 11, 2009
    I tried the formula-thing in Gnumeric creating and saving a simple spreadsheet. The result: Gnumeric saves formulas in the interoperable way ( contrary to what the Microsoft product does ): "oooc:=[.B3]+[.C3]+[.D3]" ~ $ gnumeric --version gnumeric version '1.8.2'

  • Anonymous
    May 12, 2009
    Does the world reference implementation slip out side your minds. How do you think bugs are going to be found in the new draft standard for formulator if its not implemented. OpenOffice is the reference implementation so they do items from draft.   Still provide option to save in prior format. I am sorry but openoffice's  formula syntax is documented for all versions even the old Staroffice file formats style is documented.  OpenOffice changed over to the draft standard because it would be more future safe. Yes gnumeric koffice IBM Lotus Symphony and others have managed to operate in a compatible way.  OpenOffice syntax 1 of them. MS choose to be incompatible so be it. Correct Openoffice's spreedsheet formal are not compatible with Excels .  Openoffice don't have rounding errors and has more functions.  Excel support is a small subset.   So excel is still short many functions to do 1.2 support when it gets released.

  • Anonymous
    May 14, 2009
    Doug Mahugh and a bunch of the standards crew (both in and out of Microsoft) have been having a great

  • Anonymous
    May 15, 2009
    I wrote a comment here that was moderated. Thank you.

  • Anonymous
    May 15, 2009
    ghomen, I just looked through the comment table and I don't see anything from you that hasn't been let through.  Can you tell me the rough date/time?  Or re-post?  Thanks.

  • Anonymous
    May 16, 2009
    @dmahugh My comment was: You are trying to justify a major fault on Microsoft's ODF implementation with problems on a very specific and unuseful scenario (summing strings!). That scenario hardly matters at all when compared to the state of interoperability you left ODF with. I sincerely think that there's no possible excuse for what was done given so many existing reference implementations (including your own supported plugin). Probably it's not up to you to decide, but this really looks like a trick to spread FUD on ODF portability. People will notice, you know? There's nothing that can be said to save face at this time. Can something be done? Suggestion: issue an urgent fix for this and get your credibility restored.

  • Anonymous
    May 18, 2009
    The comment has been removed

  • Anonymous
    May 18, 2009
    Hi Doug, I have to say I am not a fan of Microsoft (to not say that I hate it), but no one has the rights to say anything against MS for the reason explained in your post (there are other reasons to not like the company where you work, but this one is not one of them). It makes me wonder, how could ODF 1.0/1.1 be approved as an ISO standard? The lack of specification on how to define formulae is just a joke. Let's see if MS Office will follow the new ODF standard with this problem fixed when it is ready and aproved. Regards, Carlos

  • Anonymous
    May 19, 2009
    To all that say there are no standards for formulas. Did you actually read Rob Weir's blog post? I will copy the link for you: http://www.robweir.com/blog/2009/05/follow-up-on-excel-2007-sp2s-odf.html Carefully pay attention to the quotes of section 8.1.3 and 8.3.1 of the ODF 1.1 standard. Then compare the entries for the different spreadsheet products and how they encode a formula. If you still do not see that Excel 2007 SP2 is the one that breaks the formal standard, then well, go on living in your universe....

  • Anonymous
    May 19, 2009
    Carl, everyone is entitled to their own unique interpretation of the normative requirements of ODF 1.1, if they're so inclined.  The interpretation you've linked to is one perspective, although it seems to be a perspective held by one member of the ODF TC and no others. Here are a few other opinions you may find interesting or helpful: From an ODF TC member and ODF implementer: http://ajg.math.concordia.ab.ca/?p=4 From the convenor of SC34 WG1: http://adjb.net/post/Notes-on-Document-Conformance-and-Portability-4.aspx From a longtime document standards contributor: http://broadcast.oreilly.com/2009/05/odf-11-formula-support-in-office-sp2.html From the ODF editor: http://www.durusau.net/publications/whats_to_like.pdf It's also worth noting that Excel 2007 SP2's approach to formulas was publicly demonstrated last July (at an interoperability event that I invited all members of the ODF TC to attend).  So there's no new  information here in nearly a year.  For a non-Microsoft perspective on the formula details that was posted last year, see here: http://idippedut.dk/post/2008/08/18/DII-ODF-workshop-the-good-stuff.aspx

  • Anonymous
    June 01, 2009
    Un article de fond qui montre bien comment les problèmes d’interopérabilité sont complexes. http://blogs