Just for grins, I set up for types with names ending in +xml to automatically get application/xml as the parent mimetype.

But when I used TikaCLI to process a test.xspf file, no content was generated.

The issue is that 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.

It seems like it should try to use the mimetype hierarchy. If so, I can file an issue and a patch.

-- Ken


--------------------------
Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-210-6378

Reply via email to