You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2015/04/21 16:11:58 UTC

[jira] [Created] (TIKA-1611) Allow RecursiveParserWrapper to catch exceptions from embedded documents

Tim Allison created TIKA-1611:
---------------------------------

             Summary: Allow RecursiveParserWrapper to catch exceptions from embedded documents
                 Key: TIKA-1611
                 URL: https://issues.apache.org/jira/browse/TIKA-1611
             Project: Tika
          Issue Type: Improvement
          Components: core
            Reporter: Tim Allison
            Assignee: Tim Allison
            Priority: Minor
             Fix For: 1.9


While parsing embedded documents, currently, if a parser hits an Exception, the parsing of the entire document comes to a grinding halt.  For some applications, it might be better to catch the exception at the attachment level.

The proposal would be to include the stack trace in the metadata object for that particular attachment.

The user will be able to specify whether or not to catch embedded exceptions, and the default will be to catch embedded exceptions.  This will be a small change to the legacy behavior.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)