<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Excel 2003 xml file with xls extension detected as HTML"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123485">123485</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Excel 2003 xml file with xls extension detected as HTML
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>filters and storage
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>momonasmon@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>noelgrandin@gmail.com
</td>
</tr>
<tr>
<th>Blocks</th>
<td>123475
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=149311" name="attach_149311" title="test doc">attachment 149311</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=149311&action=edit" title="test doc">[details]</a></span>
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
<a href="https://gerrit.libreoffice.org/plugins/gitiles/core/+/7ea01578eed8459678369d0256de016930b3af40">https://gerrit.libreoffice.org/plugins/gitiles/core/+/7ea01578eed8459678369d0256de016930b3af40</a>
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 <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Detect 0-byte files based on extension"
href="show_bug.cgi?id=123476#c0">Bug 123476 comment 0</a>, and caused by the
same code change.</pre>
</div>
</p>
<div id="referenced">
<hr style="border: 1px dashed #969696">
<b>Referenced Bugs:</b>
<ul>
<li>
[<a class="bz_bug_link
bz_status_NEW "
title="NEW - [META] Bugs with file type/format detection"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123475">Bug 123475</a>] [META] Bugs with file type/format detection
</li>
</ul>
</div>
<br>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>