[
https://issues.apache.org/jira/browse/DIGESTER-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi resolved DIGESTER-172.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.3
Assignee: Simone Tripodi
Thanks a lot for contributing Ivan, much more than appreciated!
I applied your patch, see r1410929
Two minor observations:
* {{ErrorHandlerTest}} had not AL header, I added it by myself;
* {{ErrorHandlerTest}} code was not in the adopted code conventions.
Thanks again, looking forward to apply more patches from you!
> 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
> Assignee: Simone Tripodi
> Priority: Minor
> Fix For: 3.3
>
> 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