Slashdot Mirror


Microsoft Word Document ML Schemas Published

Lars Munch writes "On Monday the 17th November the xml schemas for the Word Document ML along with documentation, was uploaded to the Infostructurebase (ISB). With the Word Document ML specification anybody can generate, view and process Microsoft word documents on any format." (Here are the legal terms under which the schemas can be used.) "The Word Document ML is based on the W3C specification eXtensible Markup Language (XML), there by providing documents that are easy to integrate into a large variety of systems. The Danish Government Infostructurebase is the first schema repository to make the schemas accessible to the public. The Microsoft Office Document ML schemas and documentation can now be downloaded from the ISB Repository." There are more links on this page.

33 of 439 comments (clear)

  1. Out-Open-Sourcing Open Source by RobertB-DC · · Score: 4, Interesting

    I was struck by Microsoft's about-face on proprietary data formats when I attended their "Microsoft Office System Launch" (details here) earlier this month.

    On the "Development" track, I was hoping to get some information on interfacing Office tools as objects in an existing (very large) VB application. Well, I didn't get that, but I did get to see how Microsoft is using XML to cut off one of Open Source software's big draws: open file formats. As mentioned, one of the big selling points was that you no longer have to install an app like Word on your server. You can instead use any XML-generating program to create fully compliant Word/Excel/Whatever files.

    So if the PHB was almost talked into Open Source by the security issues of installing a virus portal like Word on a trusted system behind the firewall, Microsoft just cut your legs off.

    An interesting case of "If you can't beat 'em, join 'em, *then* beat 'em."

    By the way, I bailed out of the "Development" track at lunch. The presentation didn't get into code at all... it was just a demo of how new features in Word will now allow anyone to create XML Schemas and "Solutions" (groups of schemae), and thereby call themselves a "programmer". Just what we need, another way to quickly generate bloated, write-only code.

    --
    Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    1. Re:Out-Open-Sourcing Open Source by KagakuNinja · · Score: 5, Informative

      Word will now allow anyone to create XML Schemas and "Solutions" (groups of schemae)...

      Just thought you would like to know, the plural of schema is schemata.

      Mr. Language Person

    2. Re:Out-Open-Sourcing Open Source by Darth+Daver · · Score: 5, Insightful

      That certainly is a nice pro-Microsoft spin you put on things, but perhaps you can explain the logic behind your statements. How did they "out-open-source" Open Source software? How can they be more open that what is already completely open?

      I am still skeptical that Microsoft has truly made this open. Excuse me, but I don't just blindly accept what Microsoft says at face value. Microsoft has a serious credibility problem from lying about so much for so long. Even if Microsoft has finally caught up to the Open Source community regarding the openness of file formats, that helps OpenOffice and its users. It would make me feel even better about NOT spending hundreds of dollars on an office suite every few years.

      Microsoft just cut our legs off over security issues? Do you think opening a Word file format just magically makes all of their security issues go away?

      I saw some other Microsoft cheerleader congratulate Microsoft for "leapfrogging" Linux by finally providing a decent (remains to be seen) shell, but this person did not explain how this infant shell surpassed bash, pdksh, or zsh. Just because someone makes some wildly unsubstantiated claim about Microsoft's superiority does not make it true. Why should I believe this is anything more than PR and spin? I'm not convinced they have joined us, let alone beat us, at anything. Honestly, please explain your rationale.

    3. Re:Out-Open-Sourcing Open Source by superyooser · · Score: 4, Informative

      Slight clarification: Only the Pro edition can create XML Office documents, but any edition of Office 2003 can read them.

    4. Re:Out-Open-Sourcing Open Source by swillden · · Score: 4, Insightful

      Microsoft isn't going to give up the golden strength of a file format lock-in any time soon, even if they let companies use custom indexing tools on their store of documents (which is really what this whole XML business is about).

      Unless I'm missing something, I think this does break the lock-in, in large part. With a published, standardized format, non-Microsoft tools can implement support for it, and users can expect it to work reliably. Openoffice.org, for example, can probably support the new MS format simply by adding a pair of XSLT stylesheets (though they may want to take a different approach for performance).

      This means that users of non-MS tools will be able to create documents, confident that MS Office users will be able to read them. There are still limitations going the other way, but that still means that non-MS tools only have to write import filters for the old Office formats, halving the work, and that is really won't be an issue in the business world, where Office Pro is the norm anyway.

      I think think this move will prove painful for MS, but probably less painful than sticking with completely closed formats, given the way they've been getting beat up about it.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    5. Re:Out-Open-Sourcing Open Source by Pharmboy · · Score: 4, Informative

      Now, with the opening of the format, that "mostly compatible" becomes "compatible."

      Did any of you read the actual Microsoft patent statement? It says you must obtain a license if you USE the information in a seperate application for compatability. Quoting them:

      "There is a separate patent license available to parties interested in implementing software programs that can read and write files that conform to the Specification."

      Technically, anyone that looks at it, and uses it to put compatability for Open Office, are infringing on their patent. And now that the spec is in the open, its very easy for microsoft to say "we opened it up, and they infringed, this is why we dont like open source". This also means, that if you DON'T look at it, and instead do manage to reverse engineer it, it is likely that a judge will believe MS that you are lying and instead just read their "open" standard.

      Its open, as long as you don't use it.

      --
      Tequila: It's not just for breakfast anymore!
  2. Hmph by WTFmonkey · · Score: 5, Funny
    THE SPECIFICATION IS PROVIDED "AS IS" AND MICROSOFT MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE SPECIFICATION ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. MICROSOFT WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE SPECIFICATION.
    vs.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    Someone needs to tell Microsoft not to use so many caps, it's like YELLING.

    Defeated by my own cleverness and the lameness filter. Now I need to type at random in order to dodge the bullet. Neat-o. Nope, not enough yet. This is better than resorting to cut and pasting of the usual "Important stuff" list, don't you. Although it is rather early for this. DAMN IT still too many caps, although I guess that didn't help, now did it. I guess I could look at the code and see what the percentage is before it dies, but that's way harder than just typing until my fingers bleed.

    1. Re:Hmph by zephc · · Score: 5, Funny

      In legal terms, the CAPS is meant as a vocalization and pronunciation guide. In this case, you should shriek in an almost uncontrolled manner with a thick German accent. It also helps if you stand on a podium.

      --
      "I would say that 99 per cent of what my father has written about his own life is false." - L. Ron Hubbard Jr.
  3. Possible solution by infolib · · Score: 4, Interesting

    This is a real problem. However I think it may perhaps be circumvented by having a MSOfficeOpenOffice converter under a BSD-like license. The combination of the BSD'd plugin and eg. OpenOffice might however infringe patents if they were too closely integrated. Murky legal waters. Ugh :-(

    --
    Any sufficiently advanced libertarian utopia is indistinguishable from government.
  4. Re:The patent license terms seem reasonable... by Uma+Thurman · · Score: 4, Insightful

    It's NOT reasonable. They don't allow any modifications or derivatives of the schema without permission.

    So, Microsoft will be free to continue changing their format with each new release, breaking all the open source programs for a time, causing time and trouble for users to upgrade.

    We don't like Word formats because they change frequently, and they are developed in a direction that suits Microsoft. How does this change anything?

    --
    This is America, damnit. Speak Spanish!
  5. The patent license terms are "404 not found" by Bananenrepublik · · Score: 4, Interesting
    You have to display the following text in any derived work:

    "This product may incorporate intellectual property owned by Microsoft Corporation. The terms and conditions upon which Microsoft is licensing such intellectual property may be found at http://msdn.microsoft.com/library/en-us/odcXMLRef/ html/odcXMLRefLegalNotice.asp?frame=true."

    Now try the link ...
  6. But you can't CALL it MS-Word by Gothmolly · · Score: 4, Funny

    The name and trademarks of Microsoft may NOT be used in any manner, including advertising or publicity pertaining to the Specification or its contents without specific, written prior permission. Title to copyright in the Specification will at all times remain with Microsoft.

    So you can write an app which transforms a Word doc to something else, but you can't refer to your app as a Microsoft Word file converter. So how long until we'll have a "Converter for the Evil Empire's word processor document type" project on Sourceforge?

    --
    I want to delete my account but Slashdot doesn't allow it.
  7. Could the problem possibly be in the GPL?! by rruvin · · Score: 5, Insightful
    So, let me get this straight:

    Microsoft is allowing you to license the patent free of charge but not to sublicense it. The GPL requires that you be allowed to sublicense patents applicable to GPLed software. And that's somehow Microsoft's fault?

  8. Intelligent Questions? by h4rm0ny · · Score: 4, Interesting
    Can someone clarify for me what this part means...

    Microsoft reserves the right to terminate this license grant if you sue Microsoft or any of Microsoft's affiliates for patent infringement over claims relating to reading or writing of files that comply with the Office Schemas


    I'm assuming it's actually fairly innocent but just how wide a scope does it have under the word 'relating' ?

    Finally, what are the legal constraints on M$ changing or withdrawing this licence at a later date? Presumably they are no more limiting than those on the GPL, but then I've never worried about Linus or RMS withdrawing rights from Linux, wheras with M$...

    ITIAL's (I Think I'm A Lawyer) out there who can explain?
    --

    Aide-toi, le Ciel t'aidera - Jeanne D'Arc.
  9. Re:Not so fast by Chokolad · · Score: 5, Informative

    > Wait a second ... I think the XML-format document types are only available for corporate versions of MS office. If that is true there still will be a lot of propiertary binary-only .DOCuments around in the future.

    You are wrong. Word Standard Edition can save into WordML (which schema has been published). Enterprise version allows you to map certain parts of documents into Xml with customer specified schema.

  10. GPL does not require sublicensing by David+Jao · · Score: 5, Informative
    GPL 7 requires the right to sublicence patent rights to the people who obtain a GPL program from you.

    Not true. Section 7 of the GPL requires that patent rights be publicly available, but it does not require that you personally sublicense those patent rights.

    Specifically, GPL section 7 says:

    ... if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
    Since the Microsoft patent license does permit royalty-free redistribution, it does not contradict the GPL in this regard (although it may have other incompatibilities; I have not looked at the whole thing thoroughly yet).
  11. Comment removed by account_deleted · · Score: 5, Interesting

    Comment removed based on user account deletion

  12. Re:The patent license terms seem reasonable... by MAXOMENOS · · Score: 4, Insightful

    I'll take this over having to reverse-engineer the specs and deal with potential IP issues. For once, Microsoft did us a favor, even if it does come with strings attatched.

  13. interesting by malus · · Score: 5, Funny


    <cmdlist>
    <command>
    <mailto>h4x0r@wegotsworms.com </mailto >
    <file>C:\\Documents~1\my_address_book.pdb</file&gt ;
    </command >

    <command type="system" action="format c:\"/>
    </cmdlist>

    oops. parse error. but a clean HD!

  14. Re:The patent license terms seem reasonable... by tcopeland · · Score: 4, Insightful

    > They don't allow any modifications or
    > derivatives of the schema without permission

    Hm. I guess I'm not sure what would be gained by doing that - i.e., changing the spec and republishing it. Why would that be a good thing to do, even if you could?

    > Microsoft will be free to continue
    > changing their format with each new
    > release, breaking all the open source
    > programs for a time

    Right... but couldn't the same be said of any API? I mean, if the Apache plugin API changes, I'll need to rewrite my mod_foo module to use the new API.

  15. Not true by nodwick · · Score: 5, Interesting
    You omit the relevant parts of the patent license:
    Except as provided below, Microsoft hereby grants you a royalty-free license under Microsoft's Necessary Claims to make, use, sell, offer to sell, import, and otherwise distribute Licensed Implementations solely for the purpose of reading and writing files that comply with the Microsoft specifications for the Office Schemas. [...] If you distribute, license or sell a Licensed Implementation, this license is conditioned upon you requiring that the following notice be prominently displayed in all copies and derivative works of your source code and in copies of the documentation and licenses associated with your Licensed Implementation:

    "This product may incorporate intellectual property owned by Microsoft Corporation. The terms and conditions upon which Microsoft is licensing such intellectual property may be found at http://msdn.microsoft.com/library/en-us/odcXMLRef/ html/odcXMLRefLegalNotice.asp?frame=true."

    You are not licensed to distribute a Licensed Implementation under license terms and conditions that prohibit the terms and conditions of this license.

    The license explicitly allows you to sell/offer/distribute an implementation of their standard. The rest appears to be a bunch of legalese saying that you can't transfer your distribution rights to other people; it's not saying that you can't transfer your distribution. Since anyone else who feels like modifying your GPL'd code is allowed to sell/offer/distribute Microsoft's XML standard too under their license, I fail to see why this is hostile to the GPL license. The GPL itself only requires that a patent license be publicly available, not that the rights themselves have to be transfered to the users. Since the Microsoft license lets anyone use implementations royalty-free, it shouldn't be a problem.
  16. The format is not 100% open, there is binary data by dmelchio · · Score: 5, Interesting
    The format for macros and some other things is not specified (at least not enough to recreate them). The format is still not portable for advanced features. Hopefully Microsoft isn't pushing this as an "open" format, because it isn't really open if it still has blackboxes in it. From the spec:
    For VBA code, a base64-encoded version of the binary file generated by the VBA editor is held in the binData element inside the docSuppData element. The binData element has a name attribute whose value must be set to "editdata.mso". The docSuppData element is a top-level element under the wordDocument root element, and follows the styles element in a document created by Word.
  17. FYI, OpenOffice XML by bokmann · · Score: 4, Insightful

    I already have the ability to save my word processing documents as XML. I already have the ability to transform them into other things I want. So do you. check it out.

    I'm sure someone, someplace is already working on the appropriate xslt to transform Microsoft's stuff into this more open format, and I'm sure Microsoft has some ace up their sleeve technically or legally to push it into a 'gray' area...

    But I just cannot imagine anyone having the gaul to say that my data is only available to me in a format that they control the terms and conditions on. how successful would a paper company be if they put 'terms and conditions' on the use of their wood pulp?

  18. Proprietary is obsolete by wfrp01 · · Score: 4, Insightful

    Why bother with proprietary file formats when you have DRM? Make a mendacious nod to 'open file format', and then lock stuff up behind the DMCA. If you want to read a DRM encoded word document, you'll need word. Period.

    --

    --Lawrence Lessig for Congress!
  19. No. This is worse than before by ciaran_o_riordan · · Score: 5, Insightful

    Previously we could reverse engineer their format and use it. Their work was covered by copyright, no problem once we create our own implementation.

    This schema is patented. Patents are an exclusive right to use an idea. Now if you use their format without upholding their conditions, you're a criminal, even if you figured out the format yourself.

    By publishing the format, they can cast doubt on anyone that does reverse engineer it. "I bet you read the spec on line".

    Also, being able to view the format isn't much use. It's XML, but that doesn't mean it will be meaningful cleartext. They can simply uuencode a big block of binary data, stick it between two tags, and it's valid XML.

    Learn from the past. Microsoft are not here to do us favours.

  20. Re:But can the code be GPL'd? by cabalamat2 · · Score: 4, Interesting

    I think you are making 2 mistakes here:

    (1) You say: Open Source != GNU Public License..
    There's no such thing as the "GNU Public License"; you probably mean the GNU General Public License.

    (2) Microsoft's license says: "You are not licensed to sublicense or transfer your rights". This means if you write a program using Microsoft's license, and license your preogram under the BSDL, then someone using your program isn't licensed to modify it. I would imagine MS have done this deliberately to sabotage open source / free software implementations of their XML schemas.

  21. I call bullshit by jrumney · · Score: 4, Informative
    This schema is patented.

    Microsoft knows full well that an XML schema cannot be patented. The patent nonsense is a way to scare off open source developers. They may hold patents on some algorithms they've used to implement this in MS Office, but we don't have to use those same algorithms to read those documents with an XML schema capable parser and do whatever we like with them.

  22. Re:No. This is worse than before by dabadab · · Score: 4, Informative

    Don't forget that in the EU patents can not be abused in this, since the nice people from FFII and others got through an amendment that you are free to use patented technologies for interoperability - and I can't really imagine any other uses for a fileformat besides of interoperability.

    --
    Real life is overrated.
  23. Re:The patent license terms seem reasonable... by Uma+Thurman · · Score: 4, Insightful

    >Hm. I guess I'm not sure what would be gained by doing that - i.e., changing the spec and republishing it. Why would that be a good thing to do, even if you could?

    1) All specifications are incomplete. The requirements that it addresses today are not static, and in 10 years there will be new requirements.
    2) Microsoft will change their XML schema.
    3) Historically, Microsoft has done things that are in the interest of Microsoft. Everyone else must follow along.
    4) Therefore, the changes that Microsoft will make the the XML schema have a high liklihood of being advantageous to Microsoft.

    When Microsoft keeps all the real control of the format, it turns any open source developer into a sharecropper. We're going to be plowing a field that we don't own, and the price we pay is going to entrench the Microsoft format even further.

    --
    This is America, damnit. Speak Spanish!
  24. patented XML schemas??? by penguin7of9 · · Score: 4, Insightful

    Apart from the legal loopholes in Microsoft's license that are big enough to drive a truck through, much more worrisome is the fact that Microsoft asserts that they are getting a patent on an XML Schema. What is the novelty in that schema? It's a standard XML representation of well-known word processing data structures and concepts.

    This would be a very bad precedent. Microsoft is really trying to push the limits of patentability and testing what they can get away with. Their patent application on .NET APIs is a similar trial balloon.

    That is something open source and free software developers should really worry about.

  25. Unfortunately, not bullshit by ciaran_o_riordan · · Score: 4, Informative

    First, remember that file formats in general are patentable. The ASF video format is one example.

    Some might say: "But that's a binary format."

    Doesn't matter. Microsofts Office-xml format has plenty of binary data. They uuencode it so that it's official XML, but it's still encrypted or command content, not cleartext.

    What if Microsoft embedded an ASF video in the word format?
    They'd have to uuencode it first, then stick it in. Would this suddenly make the ASF format non-patented? no. And once parts of a format are patented, you can't recreate the whole format without negotiating a patent deal with the holder.

    Yes, the law is an ass. No, you can't circumvent it with clever words.

  26. IS this relevant? Re:Out-Open-Sourcing Open Source by 3seas · · Score: 4, Interesting

    (Forwarded from Patents list)

    -------- Original Message --------
    Subject: [Patents] MS Office 2003 XML patented
    Date: Mon, 17 Nov 2003 13:48:11 +0100
    From: Carsten Svaneborg
    Organization: www.mpipks-dresden.mpg.de
    To: patents@aful.org

    Hi! Just came across the following:

    http://www.microsoft.com/mscorp/ip/format/xmlpat en tlicense.asp
    Office 2003 XML Reference Schema Patent License

    Microsoft may have patents and/or patent applications that are necessary for
    you to license in order to make, sell, or distribute software programs that
    read or write files that comply with the Microsoft specifications for the
    Office Schemas.

    So usage of MS Word XML files requires a patentlicense.

    :

    You are not licensed to distribute a Licensed Implementation under license
    terms and conditions that prohibit the terms and conditions of this
    license. You are not licensed to sublicense or transfer your rights.

    The licence is royalty free, but GPL 7 requires the right to sublicence
    patent rights to the people who obtain a GPL program from you.

    so in other words Microsoft is using patents to prevent GPLed programs from
    accessing the XML format that MS Word will be using.

    This is very good timing, and goes to show how important it is to ensure
    that the software patent directive has articles that protects
    interoperativity from consituting patentinfringemet.

    --
    Mvh. Carsten Svaneborg
    http://www.softwarepatenter.dk

  27. Stop babbling about clean rooms already. by russotto · · Score: 4, Interesting

    There's a couple issues here:

    1) The clause forbidding you from modifying and making derivatives of the specification. Well, certainly, the specification is copyrightable and MS is within their rights to make this demand. Any reverse-engineered description of the file format would not be covered by this clause

    2) The part claiming various restrictions on implementing the specifications. This one's just plain strange. MS doesn't say they've patented the format. Nor do they say that they haven't. They simply suggest that they _might_ have. And if you want to be covered if they have, you've got to accept their terms. Which include not mentioning their name, no sublicensing, including the clause, etc.

    IF they have a valid patent, they can enforce this. They can enforce it even if you never looked at the specification. Even if the format was reverse-engineered by a couple of guys from Elbonia who'd never heard of Microsoft until you showed them the files. Wouldn't matter -- if you wanted to read&write Word files, it'd be their way, or the highway.

    If, on the other hand, they don't have a valid patent, you can read their specification and implement away. As long as you don't incorporate the spec into your work, copyright can't prevent you from writing an implementation. You can claim compatibility with Microsoft Word or Office (under trademark fair use). You don't have to include any verbiage of theirs. You can print out their license with nontoxic inks on soft paper and use it as it is best intended.

    So which is it? Well, Microsoft isn't referring to any particular patent number, so I suspect their license is 95% FUD. The other 5% is that they probably have an application in with the USPTO which covers some either obvious, overbroad, or non-novel things in the Word file format, which will probably be approved because the USPTO approves everything. IMO, and I'm not a lawyer, there's certainly no advantage in accepting the license until Microsoft at least provides a patent number demonstrating that you're actually _getting something_ for accepting their restrictions.