Help for deployment descriptor handling needed

In order to create some XML content like
content content ]]>
I have some code similar to this:

When filling ListValue with an empty list all occurences of are removed, but the empty ]]> element remains:
Is there any way to remove the empty ]]> element? Since the DTD defines element aaa as ]]>, therefore ]]> is invalid.

Please sign in to leave a comment.