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

Markus Mohrhard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Whiteboard|BSA                         |EasyHack DifficultyBeginner
                   |                            |SkillCpp

--- Comment #6 from Markus Mohrhard <[email protected]> ---
Lets start with the easy part. The file is not valid according to OOXML.

In xl/_rels/workbook.xml.rels it references sharedStrings.xml in contrast to
the SharedStrings.xml that it actually contains. I checked that we respect the
value in the file so we are conformant with the standard in this matter.

Now to the question if we should support these broken documents. I think it
would be relatively easy to check for files named any version of
sharedstrings.xml when the import of the file mentioned in the relationship
file fails.

However I would give this a low priority for now and make it an easy hack.

The place in the code where we try to load the shared strings table is:
http://opengrok.libreoffice.org/xref/core/sc/source/filter/oox/workbookfragment.cxx#214

We would need to change the code that if we don't find the file in this case we
check if any of variation of sharedStrings.xml is found. Anybody interested in
this task can ask me for more details.

-- 
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