tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ghenadie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-2723) Issue with parsing .mht container
Date Wed, 05 Sep 2018 12:18:00 GMT

    [ https://issues.apache.org/jira/browse/TIKA-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604329#comment-16604329

Ghenadie commented on TIKA-2723:

Please see the uploaded file. This file is a web page saved as .htm file. Same thing you can
do with any other Microsoft file, just Save as .mht Please see that in tika-mimetypes.xml
from tika jar, this extension is included in <mime-type type="message/rfc822">.  As
I understand, the correct way is to include this extension  in <mime-type type="text/html">,
since this is a HTML page.



> Issue with parsing .mht container
> ---------------------------------
>                 Key: TIKA-2723
>                 URL: https://issues.apache.org/jira/browse/TIKA-2723
>             Project: Tika
>          Issue Type: Bug
>          Components: mime
>    Affects Versions: 1.17
>            Reporter: Ghenadie
>            Priority: Major
>              Labels: patch
>             Fix For: 1.17
>         Attachments: [TIKA-2723] Issue with parsing _mht container - ASF JIRA.mht
> Hello,
> I have a file with .mht extension. Tika processes  this file  as an email (Is Email?
- true), and uses RFC822Parser to parse it. As a result, I have the content with email fields,
as: From, To, CC, BCC, Subject. 
> This is an issue for me. And seems to be an issue from Tika. As far as this is a web
container, it should not be parsed through RFCParser (which is an email parser). 
> Please investigate this issue as soon as possible. 
> Please let me know in case of any questions.
> Thank you,
> Ghenadie R.

This message was sent by Atlassian JIRA

View raw message