tika-user  

Re: can't build tika because ExcelParserTest and OOXMLParserTest fails

Daan de Wit
Thu, 11 Mar 2010 02:23:20 -0800

Hi Rubén,

Jukka actually filed a bug-report for this issue against POI:
https://issues.apache.org/bugzilla/show_bug.cgi?id=48617, I don't know if
Tika already depends on this version of POI, so it might be best to just
disable the failing tests.

Kind regards,
Daan

On 9 March 2010 22:12, Ruben Laguna <ruben.lag...@gmail.com> wrote:

> Hi,
>
> I tried to build tika 0.6 with mvn install and two testcases fails (which
> prevents the build from completing)
>
>
>   testExcelParserFormatting(org.apache.tika.parser.microsoft.ExcelParserTest)
>   testExcelFormats(org.apache.tika.parser.microsoft.ooxml.OOXMLParserTest)
>
> I took a look to testExcelParserFormatting and it fails on the first
> assert
> assertTrue(content.contains("1,599.99"));
>
> because contens contains "1.599,99" and not "1,599.99" I suspect that this
> is due to the fact that in my locale (swedish) the number formatting is
> different.
>
> Is there anyway to fix this? Actually I not really interested  in Excel at
> all, so I wouldn't mind to disable the excel parser altogether. is this
> possible?
>
> --
> /Rubén
>