You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tyler Palsulich (JIRA)" <ji...@apache.org> on 2015/03/15 19:28:38 UTC

[jira] [Commented] (TIKA-1155) Number Format is converted with an error

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

Tyler Palsulich commented on TIKA-1155:
---------------------------------------

The xlsx file is formatted correctly (Tika 1.8-SNAPSHOT). But, text.xml still has the same result.

> Number Format is converted with an error
> ----------------------------------------
>
>                 Key: TIKA-1155
>                 URL: https://issues.apache.org/jira/browse/TIKA-1155
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.4
>            Reporter: Evgeniy Buyanov
>         Attachments: test-Excel.csv, test.xlsx, test.xml
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> {code:Title=Source data}
> <Style ss:ID="s16">
>    <NumberFormat ss:Format="_-* #,##0\ _B_F_-;\-* #,##0\ _B_F_-;_-* &quot;-&quot;\ _B_F_-;_-@_-"/>
> </Style>
> <Row><Cell ss:StyleID="s16"><Data ss:Type="Number">10</Data></Cell></Row>
> <Row><Cell ss:StyleID="s16"><Data ss:Type="Number">-10</Data></Cell></Row>
> {code}
> java -jar tika-app-1.4.jar test.xlsx > test.xml
> {code:Title=Result}
> <tr>	<td>* 10 _F</td></tr>
> <tr>	<td>-10 _F</td></tr>
> {code}
> related ASF Bugzilla – Bug [52592|https://issues.apache.org/bugzilla/show_bug.cgi?id=52592]



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