[ 
https://issues.apache.org/jira/browse/TIKA-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan McKinley updated TIKA-1014:
--------------------------------

    Description: 
The current MimeTypesReader is package protected with private fields.  It would 
be great to allow subclassing this Reader to support custom behavior.  In 
particular:
 - error handling
 - custom XML tags

  was:
Currently if you try to register multiple mimetypes to the same extension, the 
parser dies with a SAXException.

It would be great if the error behavior was customizable so that we could 
optionally continue and log (or whatever) errors


        Summary: Allow custom MimeTypesReader  (was: Support custom error 
handling in MimeTypesReader)

after working with this for a while, I think a more general approach is a 
better idea
                
> Allow custom MimeTypesReader
> ----------------------------
>
>                 Key: TIKA-1014
>                 URL: https://issues.apache.org/jira/browse/TIKA-1014
>             Project: Tika
>          Issue Type: New Feature
>          Components: mime
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: TIKA-1014-CustomErrorHandling.patch
>
>
> The current MimeTypesReader is package protected with private fields.  It 
> would be great to allow subclassing this Reader to support custom behavior.  
> In particular:
>  - error handling
>  - custom XML tags

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

Reply via email to