[Libreoffice-bugs] [Bug 123485] New: Excel 2003 xml file with xls extension detected as HTML

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 15 12:08:38 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=123485

            Bug ID: 123485
           Summary: Excel 2003 xml file with xls extension detected as
                    HTML
           Product: LibreOffice
           Version: 6.2.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: momonasmon at gmail.com
                CC: noelgrandin at gmail.com
            Blocks: 123475

Created attachment 149311
  --> https://bugs.documentfoundation.org/attachment.cgi?id=149311&action=edit
test doc

Actual Results:

Trying to open the attached file with 6.2/master, shows the HTML import options
dialog, and after confirming opens an empty spreadsheet.

Expected Results:

Should just open a spreadsheet with the number '1' in A1 cell (like in 6.1).

Didn't perform a proper bibisect, but reverting the
svtools/source/svhtml/htmlkywd.cxx part of
https://gerrit.libreoffice.org/plugins/gitiles/core/+/7ea01578eed8459678369d0256de016930b3af40
seems to fix the problem.

There is also a related problem about misdetection of empty files as HTML
instead of plain text which reported in Bug 123476 comment 0, and caused by the
same code change.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=123475
[Bug 123475] [META] Bugs with file type/format detection
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190215/0fa945b5/attachment-0001.html>


More information about the Libreoffice-bugs mailing list