[
https://issues.apache.org/jira/browse/DIGESTER-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Diana updated DIGESTER-172:
--------------------------------
Attachment: CustomErrorHandler.patch
I suggest a patch and relative Junit Test
> Even with custom ErrorHandler, SAX errors are still written to stderr
> ---------------------------------------------------------------------
>
> Key: DIGESTER-172
> URL: https://issues.apache.org/jira/browse/DIGESTER-172
> Project: Commons Digester
> Issue Type: Bug
> Affects Versions: 3.2
> Reporter: Nick Williams
> Priority: Minor
> Attachments: CustomErrorHandler.patch
>
>
> The default error handler writes SAX errors to stderr and does not throw
> them. However, if a custom ErrorHandler is implemented and specified, even
> though it DOES get used to handle the errors, the SAX errors are STILL
> written to stderr. The SAX errors should not get written to stderr if another
> ErrorHandler is specified.
--
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