There is no answer for this question by using Jackson, so in the end in order to keep 3 < 7
as it is, I needed to modify client to post XML wrapped in <!CDATA[[3 < 7]]>
, then Jackson will not convert that to 3 < 7
(which is not the wanted behavior).