You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2018/03/28 18:53:00 UTC
[jira] [Created] (TIKA-2618) LabelRecord and LabelSSTRecord text
can be overwritten in xls
Tim Allison created TIKA-2618:
---------------------------------
Summary: LabelRecord and LabelSSTRecord text can be overwritten in xls
Key: TIKA-2618
URL: https://issues.apache.org/jira/browse/TIKA-2618
Project: Tika
Issue Type: Task
Reporter: Tim Allison
In our regression tests, we've lost small amounts of text from quite a few xls (standalone, but especially embedded). This is somewhat caused by removing the {{listenForAllRecords=true}} that I accidentally left in as part of debugging something a while ago. When that is true, we don't cache the records in currentSheet, so they are added to the {{extraTextCells}} list. When that is false, which is now the default, the {{LabelRecord}} and {{LabelSSTRecord}} are sometimes being overwritten because multiple cells can have the same x/y coordinates in the {{currentSheet}} map.
When {{listenForAllRecords=false}}, we're trying to listen for labels, but we're often overwriting them because of the map.
Let's add labels to {{extraTextCells}} so that at least the text is processed.
As one example: "africa" in govdocs1/199/199294.ppt
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)