You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "metatech (JIRA)" <ji...@apache.org> on 2011/08/30 17:25:37 UTC
[jira] [Created] (CAMEL-4396) XML validation errors should be not
logged on System.err
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
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
[jira] [Work started] (CAMEL-4396) XML validation errors should be
not logged on System.err
Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-4396 started by Christian Müller.
> 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
> Attachments: camel_xml_exceptions1.patch, camel_xml_exceptions2.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
[jira] [Resolved] (CAMEL-4396) XML validation errors should be not
logged on System.err
Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Müller resolved CAMEL-4396.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.9.0
Committed r1163420
Thanks for the patch.
> 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
>
> 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
[jira] [Updated] (CAMEL-4396) XML validation errors should be not
logged on System.err
Posted by "metatech (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CAMEL-4396) XML validation errors should be not
logged on System.err
Posted by "metatech (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
metatech updated CAMEL-4396:
----------------------------
Attachment: camel_xml_exceptions2.patch
camel_xml_exceptions1.patch
> 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
> Attachments: camel_xml_exceptions1.patch, camel_xml_exceptions2.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
[jira] [Reopened] (CAMEL-4396) XML validation errors should be not
logged on System.err
Posted by "metatech (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
metatech reopened CAMEL-4396:
-----------------------------
Estimated Complexity: Novice (was: Moderate)
New patch is provided.
> 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
[jira] [Assigned] (CAMEL-4396) XML validation errors should be not
logged on System.err
Posted by "Christian Müller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Müller reassigned CAMEL-4396:
---------------------------------------
Assignee: Christian Müller
> 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
> Attachments: camel_xml_exceptions1.patch, camel_xml_exceptions2.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
[jira] [Resolved] (CAMEL-4396) XML validation errors should be not
logged on System.err
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-4396.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.8.1
Thanks for the 3rd patch. I have applied it to trunk. And backported the entire fix to 2.8.x as well.
> 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.8.1, 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