Re: Ommiting XML declaration when converting from Dom to String

2010-05-14 Thread Willem Jiang
Hi Dragisa, I just committed a quick fix for it, please check the latest Camel 2.3-SNAPSHOT and look up the usage on the JIRA. Willem Dragisa Krsmanovic wrote: https://issues.apache.org/activemq/browse/CAMEL-2720 On Thu, 2010-05-13 at 09:23 +0200, Claus Ibsen wrote: On Wed, May 12, 2010 at

Re: Ommiting XML declaration when converting from Dom to String

2010-05-13 Thread Claus Ibsen
On Wed, May 12, 2010 at 11:23 PM, Dragisa Krsmanovic dkrsmano...@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

Re: Ommiting XML declaration when converting from Dom to String

2010-05-13 Thread Dragisa Krsmanovic
https://issues.apache.org/activemq/browse/CAMEL-2720 On Thu, 2010-05-13 at 09:23 +0200, Claus Ibsen wrote: On Wed, May 12, 2010 at 11:23 PM, Dragisa Krsmanovic dkrsmano...@plos.org wrote: XmlConverter is hardcoded to omit XML declarations when serializing Dom documents. The information

Ommiting XML declaration when converting from Dom to String

2010-05-12 Thread Dragisa Krsmanovic
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 ? See: