Slashdot Mirror


Microsoft's OOXML Formulas Could Be Dangerous

hill101 writes "According to Rob Weir's blog, Microsoft's 325-page OOXML specification for spreadsheet formulas is deeply flawed. From basic trigonometric functions that forget to specify units, to statistical functions, to critical financial functions — the specification does not contain correct formulas that could possibly be implemented in an interoperable way. Quoting Mr. Weir: 'It has incorrect formulas that, if implemented according to the standard, may cause loss of life, property, and capital... Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it.'"

15 of 360 comments (clear)

  1. So? by ColaMan · · Score: 3, Insightful

    .....if implemented according to the standard, may cause loss of life, property, and capital..

    Pffft....as if this has ever been much concern to software manufacturers before.

    Every EULA has boilerplate text denying all responsibility , and you'd be mad to trust any results from software implicitly. Double check it yourself , even if it's just a few corner cases.

    --

    You are in a twisty maze of processor lines, all alike.
    There is a lot of hype here.
    1. Re:So? by erroneus · · Score: 4, Insightful

      A user NOT trusting his tools is a very strange thing. If it were some sort of software engineer doubting software tools, that's one thing and it's somewhat expected. But in general:

      * We trust all hand tools like wrenches and sockets to be exactly the size on the label
      * We trust all of our doctor's opinions whether or not a second opinion is recommended
      * We trust our math applications to do math properly
      * We trust our spell checkers to check properly

      In general, we trust the things we by to work as expected... as advertised. (No, I haven't seen Excel advertised to be accurate, but in a math application, it's implied by its very existence) So to say that you should re-check the results by hand is not just ridiculous, it would never happen.

      I remember when the Pentium processor first came out and there was this math error in there somewhere. It was a BIG deal.

      But before passing too much judgment on this too quickly, a little verification of the bugs might be helpful and let's mark our calendars to see how fast Microsoft fixes the problem... oh wait, the problem is said to be in the file specification? What does that mean if they update the format specification with regards to their ISO certification?

  2. Typical Microsoft... by QuietLagoon · · Score: 4, Insightful
    ... put out garbage into the marketplace, and then wait for the customers to do the quality assurance work that Microsoft should have done.

    The trouble is that the politicians standardizing on this spec will look only at its length and declare it to be good. Maybe Microsoft made the specification long with that intent in mind.

  3. Meaningless statement by Anonymous Coward · · Score: 3, Insightful

    Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it.

    What percentage of those who praise ODF specifications actually read it? Or any other specification? I would imagine it is a small percentage.

  4. Surprised? by JohnFluxx · · Score: 3, Insightful

    I doubt anyone is surprised. How can you possibly fast track a 325 page document, giving the public only a time amount of time to check it, then expect it to be perfect.

    Man, I really really get annoyed at Microsoft.

  5. Re:Yeah, I'm sure this guy is objective by january05 · · Score: 5, Insightful

    ODF will define spreadsheet formulas, in the next version. And come on, the "IBM conspiracy" take from MS is really lame since OOXML is the one with proprietary patented extensions. I'll take any open standards company I can get, personally.

  6. I never understand why people complain so much by pembo13 · · Score: 3, Insightful

    Let MS do exactly what they want, they seem quite successful at it, if it bites them in the butt, so be it. I would just like our own software freedoms to be preserved. I have no intention on producing anything with their format, I'm sure I'll eventually have to read it, but the chances that the receiver of a document is liable for inaccurate content within that document seems very low.

    What is the motivation, since I'm sure there must be a good one, to do this free work for MS?

    --
    "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
  7. Re:Just want to point out... by Xiaran · · Score: 3, Insightful

    The problem is that we are talking about a proposed international standard and you are using the phrase "it's goddamn assumed by anyone...". There should ideally be *no* assumptions in a stadard... it needs to be as clear and accurate as humanly possible. Remember that once a standard is published it is translated into many laguages and possibly implemented in different cultures as mentioned in TFA. What you assume to be obvious may or may not be obvious to others.

  8. Shame?! by krygny · · Score: 5, Insightful

    "Shame on all those who praised and continue to praise the OOXML formula specification without actually reading it."

    Reminds me of something I once heard a congressman rationalize in reference to a bill he just voted for containing several lame provisions (many with which he did not even agree): "Do you have any idea what reading a bill like that would entail?" I do. It would entail you doing your fucking job.

    --
    Research shows that 67% of those who use the term "research shows", are just making shit up.
  9. Re:Ok, but... by jkrise · · Score: 4, Insightful

    Someone failed the math class where they explained that an angle is a "dimensionless derived unit" . Explaining, short version for the clicky-impaired: angles are the ratio between two measurements of length -- the length of an arc and the radius of said arc.
    It got off to a bad start. Technically that may be correct, but in reality, it is very common and practical to express angles in degrees. So, sin(30) = 0.5 and tan(90) = 1. Memorising the values of sin, cos and tan for 0, 30, 45, 60 and 90 degrees is a de-facto requirement to solve trig. problems in high school. Does Microsoft expect students to relearn all these convenient derievd units in radians, and go mad?

    A document standard is a practical necessity to express everyday ideas in a readable format. Not to be technically accurate and practically useless. Try typing HCl + NaOH --> NaCl + H2O in Office, and watch yourself breaking the monitor.

    --
    If you keep throwing chairs, one day you'll break windows....
  10. Re:Ok, but... by itlurksbeneath · · Score: 3, Insightful

    Dimensionless or not, in the real world (i.e. not in math class - and you really have to pick one way in math class, too), you have to pick one system of representing it and use that to send to your functions (see sin() as an example).

    That Wikipedia page you referred to us using the derived unit of "radians". There are a couple of different ways to represent that number - degrees, radians, grads. Hell, anybody that's ever used a calculator knows you have to use just one of those systems for your particular calculator.

    Nice try, but do a little more research before posting and blasting somebody's article with illogical arguments.

    --
    Have you ever considered piracy? You'd make a wonderful Dread Pirate Roberts.
  11. Re:Guess what? by kryten_nl · · Score: 3, Insightful

    Just because a certain feature is the de facto standard, doesn't mean it shouldn't be included in a standards document to combat ambiguity.

    Btw, comparing Excel (Excel users) to a programming language (programmers) is a stretch at best.

    --
    For the perfect anti-Unix, write an OS that thinks it knows what you're doing better than you do and let it be wrong.
  12. Someone else failed the math class by giafly · · Score: 3, Insightful

    Someone failed the math class where they explained that an angle is a "dimensionless derived unit".
    If you must quote Wikipedia, please read it first. This article refers to the "SI system of measurement units" which measures angles in units of radians: "The unit of angle is the angle subtended at the centre of a circle by an arc of the circumference equal in length to the radius of the circle. There are 2 radians in a circle."

    Other measurement systems use different units for angles, for example degrees.

    In short, a thing being dimensionless does not mean no units are used to measure it.
    --
    Reduce, reuse, cycle
  13. Re: Circular Reference Implementation by JetScootr · · Score: 3, Insightful

    Absolutely not. A standards specification should stand on its own, or reference other standards. "MS office" is an implementation, not a standard. It can't be used to define a standard any more than the wheelbase of your car can define what a roadway should be.
    Further, if ooxml is as "free" as MS would have politicians believe, then referring back to a proprietary product destroys that "freedom". (It's really not free, anyway, but just for the sake of discussion...)

    --
    Pavlov wouldn't be so famous if he'd used a can opener instead of a bell.
  14. Re:Proof that open formats are a good idea? by Karellen · · Score: 3, Insightful

    Oh, I definitely agree that open formats are a good idea, and that this does show one very good reason why.

    But, the point is that MOOXML is a shitty open format. It was written in a closed environment, without a decent review by anyone, in 1/20th the time you'd expect a spec of that size to take, and is being put on a "fast-track" process to ISO which means - if it goes through - it will never have had a proper review by anyone.

    Yes, having the format be open is a good thing.

    But this format is utter crap, on many different levels. It's size, complexity, inconsistency, bugginess, NIH-iness, reliance on Win32, etc., etc., etc.... make it completely unsuitable to be ratified as an ISO standard.

    When you're turning something into an international standard, you want to take your time and get it right. That's what the standardisation process should be about. Creating something usable by as many parties as possible. MOOXML fails completely here.

    Yes, I'm in favour of them opening their document formats. I wish they'd release updated documentation for the binary .doc format as well, usable by anyone (last I checked there was a "you must agree not to use this information to create products that compete with office" clause in the (outdated) documentation download) so that people could interoperate with those formats on non-Windows platforms. But do I wish for the binary .doc format to be an international standard? Hell no!

    --
    Why doesn't the gene pool have a life guard?