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

--- Comment #9 from Kohei Yoshida <[email protected]> 2011-12-08 08:36:00 
PST ---
(In reply to comment #6)
> Interesting, it works with LO-3.4.4 package from openSUSE. It does not work
> with the official LO-3.4.4 from FDO.
> 
> I wonder if it is related to a system library that is used to parse the file
> format.
> 
> Kohei, it is strange file format. How much do we support it?

It's not a strange file format; it's an Excel-generated HTML file, disguised as
an xls file, by having an .xls extension.  Well, sounds strange perhaps when
you see it written, but I've seen a plenty of files like this it's not weird to
me any more.

Since the reporter says sometimes the file opens, I would suspect it's the file
format detection code failing to detect the correct filter type, and perhaps we
are parsing the file using the wrong import filter.  Just a wild guess.

Also, as I've observed in the past, our file format detection code involves a
little bit of "random luck", where different candidate format types are tested,
and the first one gets selected.  The thing is, we store these format types in
boost::unordered_map, and this container tends to order things differently
depending on the version of boost used to build it.

That might explain different behaviors in different distro versions of even the
same version.

But all of this is just a speculation.  Someone needs to debug our format
detection code and see what really takes place there.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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