[ODFPlugtest] MSO does not read LO files

Hanssens Bart Bart.Hanssens at fedict.be
Mon Jun 27 19:14:31 CEST 2011


Rob,

Uhm, I don't think it's an LO issue, since LO produces valid documents and apparently OOo 3.3 doesn't...

Running an OOo 3.3 test file through the ODF Validator yields:

upload:///A test docoo.odt:Info:ODF Version: 1.2
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Thumbnails/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/images/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/accelerator/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/progressbar/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/toolbar/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/menubar/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/toolpanel/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/popupmenu/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/statusbar/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/floater/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
upload:///A test docoo.odt/META-INF/manifest.xml:Warning:The directory 'Configurations2/images/Bitmaps/' is not a sub-document and should not be listed in the 'META-INF/manifest.xml' file of ODF package 'upload:///A test docoo.odt'!
internal:schema/odf12/OpenDocument-v1.2-cd05-rev02-manifest-schema.rng:Info:parsed.
upload:///A test docoo.odt/META-INF/manifest.xml[2,88]:Error:element "manifest:manifest" is missing "version" attribute
upload:///A test docoo.odt/META-INF/manifest.xml:Info:1 errors, 11 warnings
upload:///A test docoo.odt/mimetype:Info:no errors, no warnings
upload:///A test docoo.odt:Info:Media Type: application/vnd.oasis.opendocument.text
internal:schema/odf12/OpenDocument-v1.2-cd05-rev02-schema.rng:Info:parsed.
upload:///A test docoo.odt/meta.xml:Info:Generator: OpenOffice.org/3.3$Win32 OpenOffice.org_project/330m20$Build-9567
upload:///A test docoo.odt/meta.xml:Info:no errors, no warnings
upload:///A test docoo.odt/settings.xml:Info:no errors, no warnings
upload:///A test docoo.odt/styles.xml:Info:no errors, no warnings
upload:///A test docoo.odt/content.xml:Info:no errors, no warnings
internal:schema/odf12/OpenDocument-v1.2-cd05-rev02-dsig-schema.rng:Info:parsed.
upload:///A test docoo.odt:Info:1 errors, 11 warnings



Bart

________________________________________
From: plugtest-bounces at opendocsociety.org [plugtest-bounces at opendocsociety.org] On Behalf Of robert_weir at us.ibm.com [robert_weir at us.ibm.com]
Sent: Monday, June 27, 2011 6:56 PM
To: ODF Plugfest mailinglist
Subject: Re: [ODFPlugtest] MSO does not read LO files

Is this a new bug?  Did LO 3.3 (or OpenOffice 3.3 or 3.4 beta) have the
same issue?

-Rob

plugtest-bounces at opendocsociety.org wrote on 06/27/2011 11:39:13 AM:

>
> Mm, indeed, removing that attribute does the trick.
>
> Note that this is about the manifest:version on the manifest:manifest
element.
> The manifest:file-entry element also has a manifest:version="1.2",
> but that does not seem to break things.
>
>
> Best regards
>
> Bart
> ________________________________________
> From: plugtest-bounces at opendocsociety.org [plugtest-
> bounces at opendocsociety.org] On Behalf Of Vollmar, Dirk
> [Dirk.Vollmar at dialogika.de]
> Sent: Monday, June 27, 2011 3:42 PM
> To: ODF Plugfest mailinglist
> Subject: Re: [ODFPlugtest] MSO does not read LO files
>
> 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
> _______________________________________________
> Plugtest mailing list
> Plugtest at opendocsociety.org
> http://lists.opendocsociety.org/mailman/listinfo/plugtest

_______________________________________________
Plugtest mailing list
Plugtest at opendocsociety.org
http://lists.opendocsociety.org/mailman/listinfo/plugtest



More information about the Plugtest mailing list