camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "metatech (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-4396) XML validation errors should be not logged on System.err
Date Fri, 02 Sep 2011 13:48:10 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

metatech updated CAMEL-4396:
----------------------------

    Attachment: camel_xml_exceptions3.patch

The 2 previous patches cover the case where the XSLT document itself has XML errors.
This third patch covers the case where the XML document in the request body is has XML errors.
Please also include this patch.
Thanks.

> XML validation errors should be not logged on System.err
> --------------------------------------------------------
>
>                 Key: CAMEL-4396
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4396
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.6.0
>            Reporter: metatech
>            Assignee: Christian Müller
>             Fix For: 2.9.0
>
>         Attachments: camel_xml_exceptions1.patch, camel_xml_exceptions2.patch, camel_xml_exceptions3.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When a XSLT has validation errors, these errors do not appear in the log4j logs but instead
are printed as "System.err".
> A simple change to the XmlConverter class of camel-core and a custom XmlErrorListener
fixes that (see attachment).
> Please consider the patch for inclusion.
> Thanks.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message