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

XLS files with a root node named WORKBOOK don't get parsed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.23
    • 1.24
    • parser
    • None

    Description

      I have an XLS file where the root node contains 2 top-level names - "WORKBOOK" and " SummaryInformation".

      The type gets properly detected as "application/vnd.ms-excel", because the POIFSContainerDetector does a check like so:

      if (names.contains("Workbook") || names.contains("WORKBOOK")) {
          ...
      }

      However, the ExcelExtractor silently rejects the file because the root node doesn't contain a top level node named "Workbook".

      Attachments

        Activity

          People

            tallison Tim Allison
            clarkperkins Clark Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: