You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Vikas Garg (JIRA)" <ji...@apache.org> on 2013/04/26 00:00:15 UTC
[jira] [Created] (TIKA-1114) sgml mime type is not detected when
passed in as byte stream
Vikas Garg created TIKA-1114:
--------------------------------
Summary: sgml mime type is not detected when passed in as byte stream
Key: TIKA-1114
URL: https://issues.apache.org/jira/browse/TIKA-1114
Project: Tika
Issue Type: Bug
Components: mime
Reporter: Vikas Garg
When passing sgml files as TikaInputStream (created from byte[]) to Detector.detect(), it returns text/plain as mediatype and not application/sgml or text/sgml. But when I provide the file name to metadata, then it gives me correct mime-type, i.e., text/sgml.
Is it because Tika is missing any designated parser for sgml files OR am I missing something? I am on Tika-1.3.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira