[
https://issues.apache.org/jira/browse/CAMEL-12691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563701#comment-16563701
]
ASF GitHub Bot commented on CAMEL-12691:
----------------------------------------
davsclaus closed pull request #2445: CAMEL-12691: XmlConverter should use
logger api when reporting parsin…
URL: https://github.com/apache/camel/pull/2445
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 2.21.3, 2.22.1, 2.23.0
>
>
> 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)