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