Sometime between verson 3.0.1 and 3.3.5, the setCData method was changed from setting a cdata property to adding a child node.
This now means that multiple calls to setCData now appends the text rather than overwriting it which is the old (and expected) behaviour.
as reported in the forums Bug with Element.setCData(String) in xml-tools 3.3.5
(change was introduced in the revision r419)
fix tigase.xml.Element.setCData(java.lang.String) to replace CData of the Element;
tigase.xml.Element.setCData(java.lang.String)
add method tigase.xml.Element.addCData(java.lang.String) that would append data;
tigase.xml.Element.addCData(java.lang.String)
check all method calls to the method;
include information in the release.
Applied in changeset tigase-xmltools|commit:1111c51a3132c1a609f92350d79c930aaeaa3e2b.
as reported in the forums Bug with Element.setCData(String) in xml-tools 3.3.5
(change was introduced in the revision r419)