Grzegorz Grzybek created CAMEL-12691:
----------------------------------------
Summary: Allow configuration of org.xml.sax.ErrorHandler on
DocumentBuilders used in Camel
Key: CAMEL-12691
URL: https://issues.apache.org/jira/browse/CAMEL-12691
Project: Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.21.1
Reporter: Grzegorz Grzybek
I have trivial route that processes XMLs. When the XML is route and has no
content (like empty file processed by {{<from uri="file:xxx">}}) I'm getting:
{noformat}
[Fatal Error] :-1:-1: Premature end of file.
{noformat}
printed directly on STDOUT.
If there was a way to make {{org.apache.camel.converter.jaxp.XmlConverter}}
call {{javax.xml.parsers.DocumentBuilder#setErrorHandler}} (for example
delegating to logger), it'd be great.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)