Tika
  1. Tika
  2. TIKA-298

CompositeParser.getParser() should use mimetype hierarchy when falling back

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.4
    • Fix Version/s: 0.8
    • Component/s: parser
    • Labels:
      None

      Description

      CompositeParser.getParser() doesn't use supertypes when falling back - if it can't get a parser for the exact mimetype, then it goes
      straight to the fallback parser.

      So, for example, if the file mimetype is application/<whatever>+xml, and no parser exists for it, then you get the default "do nothing" parser versus the XML parser.

        Issue Links

          Activity

          Ken Krugler created issue -
          Ken Krugler made changes -
          Field Original Value New Value
          Link This issue is related to TIKA-308 [ TIKA-308 ]
          Chris A. Mattmann made changes -
          Component/s parser [ 12312047 ]
          Jukka Zitting made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Jukka Zitting [ jukkaz ]
          Fix Version/s 0.8 [ 12314877 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Jukka Zitting
              Reporter:
              Ken Krugler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development