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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development