[ https://issues.apache.org/activemq/browse/CAMEL-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=59340#action_59340 ]
Willem Jiang commented on CAMEL-2720: ------------------------------------- I can let XmlConverter check the camelContext property before it decide to omit XML declaration by default :) > XmlConverter omits XML declaration > ---------------------------------- > > Key: CAMEL-2720 > URL: https://issues.apache.org/activemq/browse/CAMEL-2720 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Reporter: Dragisa Krsmanovic > Assignee: Willem Jiang > > org.apache.camel.converter.jaxp.XmlConverter is hardcoded to omit XML > declaration when converting DOM document to string. Character encoding > information is lost that way. > Ideally there should be a way to override default output properties. > See: > http://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java?r=HEAD -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.