[
https://issues.apache.org/jira/browse/TIKA-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534494
]
Jukka Zitting commented on TIKA-59:
-----------------------------------
How would such a thing work if we had multiple parsers operating on the same
document (even now we have ParserPostProcessor decorating the underlying
parser)?
IMHO it would be more helpful and appropriate to use debug logging for this
information.
> Include parser class name in Metadata object.
> ---------------------------------------------
>
> Key: TIKA-59
> URL: https://issues.apache.org/jira/browse/TIKA-59
> Project: Tika
> Issue Type: Wish
> Components: general
> Affects Versions: 0.1-incubator
> Reporter: Keith R. Bennett
> Priority: Minor
> Fix For: 0.1-incubator
>
>
> It would be helpful to know which parser was used to parse a given document.
> Some convenience methods eliminate the need for the user to make that
> determination, so in that case there would be no way to know which parser was
> used.
> This feature could be helpful in testing and debugging, both for ourselves
> and for users.
> The class name could either be an entry in the Map (a property), or an
> instance variable.
> If the Parser ever becomes an abstract class, the act of setting this value
> could be done in the abstract class constructor, eliminating the need for
> parser implementations to deal with this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.