[ODFPlugtest] MSO does not read LO files

Vollmar, Dirk Dirk.Vollmar at dialogika.de
Mon Jun 27 15:42:38 CEST 2011


Dear all,

>From my analysis it seems that the problem is the manifest:version attribute which has been added in ODF 1.2 (see attachment).

This attribute is created by LibreOffice in Bart's sample document, hence the document is no longer a valid ODF 1.1 document. Using the ODF validator at http://tools.services.openoffice.org/odfvalidator/ shows the following errors when validating against ODF 1.1:

> upload:///test.odt/META-INF/manifest.xml[2,111]:Error:unexpected attribute "manifest:version"
> upload:///test.odt/meta.xml[2,874]:Error:unexpected attribute "meta:non-whitespace-character-count"
> upload:///test.odt/styles.xml[2,6045]:Error:unexpected attribute "style:name"
> upload:///test.odt/styles.xml[2,6555]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,6917]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,7276]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,7638]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,8000]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,8362]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,8724]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,9083]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt/styles.xml[2,9446]:Error:unexpected attribute "text:list-level-position-and-space-mode"
> upload:///test.odt:Info:Generator: LibreOffice/3.4$Win32 LibreOffice_project/340m1$Build-12


As Office 2010 is only supporting ODF 1.1, one cannot expect Office to open the document; certainly the error message could be more descriptive though.

Best regards,
Dirk




-----Original Message-----
From: plugtest-bounces at opendocsociety.org [mailto:plugtest-bounces at opendocsociety.org] On Behalf Of Hanssens Bart
Sent: Montag, 27. Juni 2011 15:11
To: ODF Plugfest mailinglist
Subject: Re: [ODFPlugtest] MSO does not read LO files

ndeed, I have the same issue, error when opening a LO 3.4 odt on Win7 with MSO 2010 64 bit.

OTOH, MS-Office 2010 opens odt generated by OOo 3.3 with warnings, but there is some difference between the test manifest file generated by OOo 3.3 and LO 3.4 (see attachments)

Don't have LO 3.3 at hand, but perhaps someone could check to see if there's much difference between LO 3.3 and LO 3.4 vs OO 3.3 and LO 3.3


Best regards

Bart
________________________________________
From: plugtest-bounces at opendocsociety.org [plugtest-bounces at opendocsociety.org] On Behalf Of Milos Sramek [sramek.milos at gmail.com]
Sent: Monday, June 27, 2011 2:45 PM
To: ODF Plugfest mailinglist
Subject: Re: [ODFPlugtest] MSO does not read LO files

Dňa 24.06.2011 17:52, robert_weir at us.ibm.com  wrote / napísal(a):
> plugtest-bounces at opendocsociety.org wrote on 06/24/2011 11:29:10 AM:
>
>> Hi,
>>
>> I am new on this list - my name is Milos Sramek.
>>
>> I've just noticed that MSO2010 does not open ODF files produces by
> LO3.4.
>> MSO says: The file is corrupt and cannot be open (see the attached 
>> picture). However, the file passed both validation tests, as 
>> available at officeshots.org.
>>
>> MSO then offers to correct the file and subsequently opens it correctly.
>> When saved, the new file does not validate with one of the ODFToolkit 
>> validator.
>>
>> This behavior can be easily reproduced, I checked that with several
> files.
> I don't have Office 2010 so I have not seen this.  Have you tried 
> diff'ing the two ODF documents to see what Office changes?  That would 
> be interesting to know.
I diffed them with the standard diff, but I did not see anything. These files have just one long line and one does not see what is really different.

Milos
> -Rob
> _______________________________________________
> Plugtest mailing list
> Plugtest at opendocsociety.org
> http://lists.opendocsociety.org/mailman/listinfo/plugtest
>


--
email & jabber: sramek.milos at gmail.com

_______________________________________________
Plugtest mailing list
Plugtest at opendocsociety.org
http://lists.opendocsociety.org/mailman/listinfo/plugtest
-------------- next part --------------
A non-text attachment was scrubbed...
Name: odfmanifestversion.png
Type: image/png
Size: 29085 bytes
Desc: odfmanifestversion.png
URL: <http://open.nlnet.nl/pipermail/plugtest/attachments/20110627/63486d3c/attachment.png>


More information about the Plugtest mailing list