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 2013/04/12 02:19:16 UTC

[jira] [Created] (TIKA-1105) CompositeParser should use ParseContext when getting correct Parser

Luis Filipe Nassif created TIKA-1105:
----------------------------------------

             Summary: CompositeParser should use ParseContext when getting correct Parser
                 Key: TIKA-1105
                 URL: https://issues.apache.org/jira/browse/TIKA-1105
             Project: Tika
          Issue Type: Improvement
          Components: parser
    Affects Versions: 1.3
            Reporter: Luis Filipe Nassif
            Priority: Trivial


CompositeParser uses getParser(metadata) into the parse() method. It creates a new ParseContext object and calls getParser(metadata, context).

It should be better to directly call getParser(metadata, context) into the parse() method, using the supplied context, so it will take the context when  getting the supported types from loaded parsers.

--
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