commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Diana (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIGESTER-172) Even with custom ErrorHandler, SAX errors are still written to stderr
Date Sun, 18 Nov 2012 14:42:58 GMT

     [ 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

Mime
View raw message