https://bugs.freedesktop.org/show_bug.cgi?id=56245

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
          Component|Writer                      |filters and storage
            Version|3.5.6.2 release             |Inherited From OOo
           See Also|                            |https://issues.apache.org/o
                   |                            |oo/show_bug.cgi?id=104786
            Summary|Corruption reported on      |Corruption reported on
                   |valid ODT file              |invalid ODT file
         Whiteboard|                            |odf

--- Comment #8 from Michael Stahl <[email protected]> ---

The error is detected from ZipPackageFolder::LookForUnexpectedODF12Streams()

the stream "Thumbnails/thumbnail.png" from the zip file does not have an entry
in META-INF/manifest.xml

This is not a valid ODF 1.2 package.

see ODF 1.2 part 3, 3.2 Manifest:

For all files contained in a package, with exception of the “mimetype” file and
files whose relative path starts with “META-INF/”, the “META-INF/manifest.xml”
file _shall_ contain exactly one <manifest:file-entry> element whose
manifest:full-path attribute's value references the file.


the ODF toolkit validator says:

output4630324524200115217.odt/META-INF/manifest.xml:  Error: The file
'Thumbnails/thumbnail.png' shall be listed in the 'META-INF/manifest.xml' file
as it exists in the ODF package 'file:///output4630324524200115217.odt'!


The check was added in OOo 3.2.

So this works as designed (NOTABUG), except for one little issue:
the dialog that pops up offers to "repair" the file,
and in OOo 3.2 that will load the document, but on current master it fails.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to