Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2959

TabularFormatsTest test fails in Germany

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.22
    • 2.0.0, 1.23
    • parser

    Description

      So I wanted to build tika from source, and failed:

      TabularFormatsTest.testSAS7BDAT:229->assertContents:216 en_US Wrong text in row 9 and column 7 - 03(MAR|Mar)(63|1963)[:\s]09:46:40(.00)? vs 03Mär1963:09:46:40.00
      TabularFormatsTest.testXLS:236->assertContents:216 en_US Wrong text in row 9 and column 7 - 03(MAR|Mar)(63|1963)[:\s]09:46:40(.00)? vs 03Mär63 09:46:40
      TabularFormatsTest.testXLSB:250->assertContents:216 en_US Wrong text in row 9 and column 7 - 03(MAR|Mar)(63|1963)[:\s]09:46:40(.00)? vs 03Mär63 09:46:40
      TabularFormatsTest.testXLSX:243->assertContents:216 en_US Wrong text in row 9 and column 7 - 03(MAR|Mar)(63|1963)[:\s]09:46:40(.00)? vs 03Mär63 09:46:40
      

      It fails because the expected "Mar" is not identical to "Mär". Setting the Locale to the US in setup doesn't help. Until there is a better solution, I'm taking Tim's suggestion to adjust the expected results. See also thread on dev:
      https://mail-archives.apache.org/mod_mbox/tika-dev/201910.mbox/%3Cd55a024f-5044-a8cd-9745-399bb53711a7%40t-online.de%3E

      Attachments

        Activity

          People

            Unassigned Unassigned
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: