camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Ommiting XML declaration when converting from Dom to String
Date Thu, 13 May 2010 07:23:22 GMT
On Wed, May 12, 2010 at 11:23 PM, Dragisa Krsmanovic
<dkrsmanovic@plos.org> wrote:
> XmlConverter is hardcoded to omit XML declarations when serializing Dom
> documents. The information about document's character encoding is lost
> this way. What is the reason for this and is there a way to override
> default transformer properties in XmlConverter ?
>

Could you create a JIRA ticket for this.


> See:
> http://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java?r=HEAD#l101
>
> --
> Dragisa Krsmanovic
> Java Developer
> Public Library of Science
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This email is confidential to the intended recipient. If you have received it in error,
please notify the sender and delete it from your
> system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions
presented are solely those of the sender and do
> not necessarily represent those of Public Library of Science unless otherwise specifically
stated. Please note that neither Public Library
> of Science nor any of its agents accept any responsibility for any viruses that may be
contained in this e-mail or its attachments and it
> is your responsibility to scan the e-mail and attachments (if any).
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message