다음을 통해 공유


Office 2007 SP1 is now available

SP1 for Office 2007 is now available for download. One of the interesting fixes we made was based on some problems we found when you tried to use the ODF translator that Sun has built for Office. Malte Timmermann pointed out on his blog back in the summer that there were some major issues when you tried to run their translators on Office 2007: https://blogs.sun.com/malte/entry/more_details_about_sun_s

I had some folks look into it a bit, and it turned out there was a bug where we assumed any file that used ZIP as its container format was an Open XML file (even if it was an ODF file). This meant the ODF file would fail to open as it never was handed off to the translator. Thankfully Malte pointed this out and we were able to make some changes that have fixed the problem.

Today Malte says that he's had a chance to download SP1, and everything is working, so that's great news: https://blogs.sun.com/malte/entry/sun_odf_plugin_1_11

If you haven't tried out their translators yet, give them a try (download SP1 first). They took a different approach from the other ODF translator project that's up on sourceforge.

-Brian

Comments

  • Anonymous
    December 12, 2007
    <tongue_in_cheek> Microsoft obviously broke this on purpose for their own nefarious reasons.  Steve Ballmer ordered this personally, with Bill Gates breaking out Visual Studio for the last time before leaving Microsoft to cut the offending code personally, with an evil grin on his face.  The entire Open XML team at Microsoft witnessed the scene, cackling maniacally. It's only due to pressure from benevolent, super-ethical organizations with only our best interests at heart such as IBM and Sun that this enormous evil undertaking was uncovered and Microsoft forced to remove Bill and Steve's unholy work. </tongue_in_cheek>

  • Anonymous
    December 12, 2007
    >> we assumed any file that used ZIP as its container format was an >> Open XML file (even if it was an ODF file). Too delicious!  Really, you couldn't make this up; nobody would believe you!  Congrats for getting it fixed though. I'm also curious about the following warning message, that somebody posted on that same blog entry: "The file needs to be opened by the ODF Text Document text converter, which may pose a security risk if the file you are opening is a malicious file. Choose Yes to open this file only if you are sure it is from a trusted source" Where's this warning coming from?  The poster says he was using "Off2003 with the Compatibility pack for Off2007".  I'm using Word XP with the Sun ODF plugin and the MS Compatibility pack installed, and I've seen no such warning message.

  • Anonymous
    December 12, 2007
    Good catch.

  • Anonymous
    December 12, 2007
    :-) Mike, I'm not sure about that one. I know we have typical warning messages we throw up if the file is opened through a converter, but I'm not positive if that's the message. For folks interested in how this happened, the short of it is: Word doesn't look at file extensions when determining what the file types is. In fact, the work we did to differentiate .docx from .docm and to actually enforce that .docx was indeed a macro-free file was actually a bit of new work. We've always just sniffed the files that get handed to us and try to determine what kind of file it is. There we ways for example you can open a plain text file that we accidentally think is XML, so you'll get an error message saying it's not valid XML (same for HTML). We fix those issues when we find them, but it usually just means we try to be smarter about sniffing. Turns out that the way we were determinging that a file was a .docx/.docm (the differentition between those two happened at a deeper level) was to just sniff the first set of bytes and see that it was a ZIP file. We never went further to see what was in the ZIP. I can't remember if the fix we made was to actually sniff the ZIP further, or just look at the extension (special case). Easiest way to find out would be to rename the .odt file to .doc and see if we call the converter properly. -Brian

  • Anonymous
    December 12, 2007
    Nice work, Brian, thank-you.

  • Anonymous
    December 12, 2007
    Mike, The relevant part of the text of the string resource for that error message reads: "This file needs to be opened by the �16�00 text converter, which may pose" The "�16�00" is a text substitution marker where the name of the converter is programatically inserted into the message. Does that answer your question?

  • Anonymous
    December 13, 2007
    The last week has seen some interesting discussions and useful how-to posts on Open XML blogs ... Three

  • Anonymous
    December 14, 2007
    The comment has been removed

  • Anonymous
    December 15, 2007
    The comment has been removed