Re: JaxbDataFormat escaping special characters

2013-09-03 Thread Christian Posta
Sven, Patch+Tests are attached. Please watch the JIRA for updates and when it gets applied. Then let me know if this fits your usecase as a valid solution. Thanks, Christian On Wed, Aug 28, 2013 at 12:04 PM, Christian Posta christian.po...@gmail.com wrote: BTW.. i've opened a JIRA for you:

Re: JaxbDataFormat escaping special characters

2013-08-28 Thread Christian Posta
post your route to recreate if it's not working. On Tue, Aug 27, 2013 at 4:36 AM, Sven Bauhan s...@ast.dfs.de wrote: On 08/26/13 16:43, Christian Posta wrote: At the moment, there is a filtering writer that camel uses by default, and unfortunately it's not configurable at the moment. If you

Re: JaxbDataFormat escaping special characters

2013-08-28 Thread Christian Posta
BTW.. i've opened a JIRA for you: https://issues.apache.org/jira/browse/CAMEL-6677 On Wed, Aug 28, 2013 at 10:01 AM, Christian Posta christian.po...@gmail.com wrote: post your route to recreate if it's not working. On Tue, Aug 27, 2013 at 4:36 AM, Sven Bauhan s...@ast.dfs.de wrote: On

Re: JaxbDataFormat escaping special characters

2013-08-27 Thread Sven Bauhan
On 08/26/13 16:43, Christian Posta wrote: At the moment, there is a filtering writer that camel uses by default, and unfortunately it's not configurable at the moment. If you open a JIRA i will get a patch for you to make it configurable. Hey thanks. I will open a ticket in Jira. But I need a

JaxbDataFormat escaping special characters

2013-08-26 Thread Sven Bauhan
Hi, as JAXB does not escape special characters when marshaling, there exists a solution to use a special EscapingXMLStreamWriter (see http://blog.lesc.se/2009/03/escape-illegal-characters-with-jaxb-xml.html). I used this in combination with org.apache.commons.lang.StringEscapeUtils to

Re: JaxbDataFormat escaping special characters

2013-08-26 Thread Christian Posta
At the moment, there is a filtering writer that camel uses by default, and unfortunately it's not configurable at the moment. If you open a JIRA i will get a patch for you to make it configurable. Cheers, Christian On Mon, Aug 26, 2013 at 5:39 AM, Sven Bauhan s...@ast.dfs.de wrote: Hi, as