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

--- Comment #9 from Markus Mohrhard <markus.mohrh...@googlemail.com> ---
(In reply to comment #7)
> Hi,
> 
> I want to work on this bug. 

Great.

> 
> I couldn't find which part of the code checks the path of
> "sharedStrings.xml". I assume the code checks the path case sensitive and we
> can make is case insensitive. But this is not a proper solution I think.
> Proper solution is checking variations only in case we couldn't find the
> "sharedStrings.xml" as Markus said.
> 
> Where should i look at for the solution?
> 
> Thanks and sorry for my possible grammar mistakes :)

So it is more difficult than that. The shared strings don't have to be saved
into sharedStrings.xml or any other variation of that string. OOXML defines
relationships for this and stores their the name of the file. As long as the
name of the file and entry in the relation are equal the file is valid. What we
are now trying to do is to accept that there are OOXML generators out there
that produce invalid OOXML files which most likely use a variation
sharedStrings.xml.

So at the place that I mentioned in Comment 6 we use the path saved in the
relations table to finally import the file and we need to check there if this
file exists. So you should start by starting Libreoffice in a debugger and set
a breakpoint at that place and inspect the stacktrace to see if there is a way
to get a list of all the files.

Please feel free to ask for more details if you need them.

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

Reply via email to