You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Luis Filipe Nassif (JIRA)" <ji...@apache.org> on 2015/01/12 01:50:34 UTC
[jira] [Updated] (TIKA-1222) Tika does not extract attachments from
RFC822 files
[ https://issues.apache.org/jira/browse/TIKA-1222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luis Filipe Nassif updated TIKA-1222:
-------------------------------------
Attachment: Tika-1222.patch
Patch to handle parts with EmbeddedDocumentExtractor instead of DefaultParser. Tests also updated.
> Tika does not extract attachments from RFC822 files
> ---------------------------------------------------
>
> Key: TIKA-1222
> URL: https://issues.apache.org/jira/browse/TIKA-1222
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.4
> Reporter: Luis Filipe Nassif
> Attachments: Tika-1222.patch
>
>
> TikaCli --extract option does not extract attachments from RFC822 files. The issue happens because MailContentHandler.body(...) method gets a Parser.class object from the context and calls parser.parse(). It should get a EmbeddedDocumentExtractor.class object from the ParseContext one and call embeddedDocumentExtractor.parseEmbedded(), similar to other Container parsers.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)