You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2011/06/02 13:56:47 UTC
[jira] [Resolved] (TIKA-668) Better handling of XML parse errors
[ https://issues.apache.org/jira/browse/TIKA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved TIKA-668.
--------------------------------
Resolution: Fixed
Done in revision 1130506.
> Better handling of XML parse errors
> -----------------------------------
>
> Key: TIKA-668
> URL: https://issues.apache.org/jira/browse/TIKA-668
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Priority: Minor
> Labels: SAXException, xml
> Fix For: 1.0
>
>
> Currently an XML parse error will cause an untagged SAXException to be thrown and then reported as a illegal (a SAXException not thrown by the given ContentHandler) by the CompositeParser class.
> To better handle this, the XMLParser class should explicitly capture any such SAXExceptions and wrap them into TikaExceptions as described in the Parser.parse() contract.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira