[
https://issues.apache.org/jira/browse/TIKA-2618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418040#comment-16418040
]
Hudson commented on TIKA-2618:
------------------------------
SUCCESS: Integrated in Jenkins build tika-branch-1x #12 (See
[https://builds.apache.org/job/tika-branch-1x/12/])
TIKA-2618 -- avoid overwriting labels (tallison:
[https://github.com/apache/tika/commit/ca9c2f53048e84a6c483165ba7779f8cb6393ec7])
* (add)
tika-parsers/src/test/resources/test-documents/testEXCEL_labels-govdocs-515858.xls
* (edit)
tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ExcelExtractor.java
* (edit)
tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
> 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
> Priority: Major
> Fix For: 1.18, 2.0.0
>
>
> 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)