You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2009/09/29 00:19:15 UTC

[jira] Commented: (TIKA-295) Rough cut of mbox parser

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

Ken Krugler commented on TIKA-295:
----------------------------------

This patch also relies on using Mockito for unit tests, so there's a modified pom.xml that adds this as a dependency.

I'm hoping it's OK to add Mockito to the test scope.

> Rough cut of mbox parser
> ------------------------
>
>                 Key: TIKA-295
>                 URL: https://issues.apache.org/jira/browse/TIKA-295
>             Project: Tika
>          Issue Type: New Feature
>    Affects Versions: 0.4
>            Reporter: Ken Krugler
>
> Attached is a patch for a first-cut at a parser that handles mailbox (.mbox, application/mbox) files.
> * The first email headers are used to fill in metadata. Subsequent email headers are tossed.
> * Charset handling needs to be fixed up. It's unclear (not spec'd) whether emails individually use the charset as specified in their individual header, or the entire file should be re-encoded (and the encoding is sent in the response header, or auto-detected).
> * Multi-part emails won't be handled properly, though it's unclear what should be done in that case (if anything).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.