We are indeed in the case of normal ">", our client doesn't use CDATA
section.

Actually, "]]>" is correctly escaped in "]]&g t;" and we want the same
behavior for others ">".

I was thinking that maybe i could add an interceptor in the outgoing chain
to manually do the escape...


Aki Yoshida-3 wrote
> The escaping happens in the xml writer layer and I don't think there
> is an option to change the behavior.
> 
> But I just wanted to make sure that you want to escape the normal ">"
> appearance which does not need to be escaped? There is a special case
> when ">" indeed needs to be escaped (i.e., when it appears as part of
> string "]]>"  within a CDATA section). I hope you are not having this
> latter case.
> 
> 2013/8/13 Christophe Collet <

> collet.christophe@

> >:
>> Hi all,
>>
>> I have a project that uses CXF 2.4.1 (we haven't migrate yet to an more
>> recent version...) and i'm facing a problem with right angle bracket
>> escaping in a soap response.
>>
>> When a soap fault response is generate, we put a XML formatted value in a
>> text node.
>>
>> Our problem is that only left angle brackets are escaped (&l t;) and not
>> right ones.
>> I know that right angle bracket escaping is optional based on the XML
>> spec.
>> but i was wondering if there was a way to enable it ?
>>
>>  (The client application need to have "&g t;"... despite our response is
>> correct...)
>>
>> Regards
>> --
>> Christophe Collet





--
View this message in context: 
http://cxf.547215.n5.nabble.com/Escaping-right-angle-bracket-tp5732274p5732295.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to