tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2025) Extraction of long sequences of digits from Excel spreadsheets using Tika 1.13 doesn’t yield the expected results
Date Fri, 22 Jul 2016 13:58:20 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15389538#comment-15389538
] 

Hudson commented on TIKA-2025:
------------------------------

SUCCESS: Integrated in Tika-trunk #1083 (See [https://builds.apache.org/job/Tika-trunk/1083/])
TIKA-2025 -- override general format in excel to extract 15 digit (tallison: rev a383567c2c947603c4c7aa12d3578d771bb58413)
* tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ExcelExtractor.java
* tika-parsers/src/main/java/org/apache/tika/parser/microsoft/TikaExcelDataFormatter.java
* tika-parsers/src/main/java/org/apache/tika/parser/microsoft/ooxml/XSSFExcelExtractorDecorator.java
* tika-parsers/src/test/resources/test-documents/testEXCEL_big_numbers.xls
* tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ooxml/OOXMLParserTest.java
* tika-parsers/src/test/java/org/apache/tika/parser/microsoft/ExcelParserTest.java
* tika-parsers/src/main/java/org/apache/tika/parser/microsoft/TikaExcelGeneralFormat.java
* tika-parsers/src/test/resources/test-documents/testEXCEL_big_numbers.xlsx
* CHANGES.txt


> Extraction of long sequences of digits from Excel spreadsheets using Tika 1.13 doesn’t
yield the expected results
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: TIKA-2025
>                 URL: https://issues.apache.org/jira/browse/TIKA-2025
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.13
>            Reporter: Aeham Abushwashi
>            Assignee: Tim Allison
>             Fix For: 2.0, 1.14
>
>         Attachments: Credit Card Numbers.xlsx
>
>
> If an Excel spreadsheet contains a long sequence of digits, such as a credit card number,
Tika 1.13 will emit the said sequence in scientific notation.
> For example, the credit card number “340229177292566” is extracted from the attached
spreadsheet as 3.40229E+14, which clearly is not the desired output. 
> This works as expected in 1.12 and earlier. I suspect POI’s recent use of org.apache.poi.ss.usermodel.ExcelGeneralNumberFormat
is to blame.
> I think the impact of this issue is significant. There’s plenty of information that
can no longer be reliably extracted from spreadsheets. Think credit card numbers, telephone
numbers and product identifiers to name a few.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message