[ https://issues.apache.org/jira/browse/TIKA-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12791104#action_12791104 ]
Jukka Zitting commented on TIKA-352: ------------------------------------ OK. I guess the relevant MediaType.parse() change did not get included in any of your recent patches. In revision 891089 I updated the method as suggested, so that MediaType.parse(null) now returns null instead of throwing an NPE. > Use MediaType.parse when extracting charset from content-type metadata in > parsers > --------------------------------------------------------------------------------- > > Key: TIKA-352 > URL: https://issues.apache.org/jira/browse/TIKA-352 > Project: Tika > Issue Type: Improvement > Affects Versions: 0.6 > Reporter: Ken Krugler > Assignee: Jukka Zitting > Priority: Minor > Fix For: 0.6 > > Attachments: TIKA-352.patch > > > Both HtmlParser and TXTParser have their own code to extract the charset from > a content-type metadata string. They should be using MediaType.parse to do > this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.