You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ivan Diana (JIRA)" <ji...@apache.org> on 2012/11/18 15:42:58 UTC

[jira] [Updated] (DIGESTER-172) Even with custom ErrorHandler, SAX errors are still written to stderr

     [ 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