-
1. Re: JAXB Marshalling and Character Escape Hander
davsclaus Nov 2, 2011 8:00 AM (in response to rodders-miller)Hi
I dont think we have this easily support out of the box in camel-jaxb component.
Is the class CdataCharacterEscapeHandle a handler you write yourself or where is the class provided if not?
-
2. Re: JAXB Marshalling and Character Escape Hander
rodders-miller Nov 3, 2011 3:27 AM (in response to davsclaus)Thanks for the response -
The handler is a custmer handler I wrote myself - it is very simple and basically leaves the content unchange.
This handler therefore only works if I assume that no content needs escaping - obviosuly not something that would work in general.
My scheme also assumes the use of the Sun implementation of Jax-b and I beleive other implementations have different mechanism for handling the same - so I guess it would be difficult to support in Camel.
Is there a way of inserting the CDATA section after the marshalling into the XML using XPATH or similar within the Camel route?
-
3. Re: JAXB Marshalling and Character Escape Hander
arun.parihar Oct 10, 2013 7:31 AM (in response to rodders-miller)I am using 7.1.0.fuse-047 version of Fuse ESB and Camel 2.10.4 and am facing same issue of character encoding of CDATA section in a String element while camel-jaxb unmarshalling.
Does camel-jaxb component has now support for the String element with CDATA section?
Thanks in advance