Now I probably tried 30+ times to validate this task but I don't get it and in the meanwhile I think I may misunderstand the questions. - What I thought is, that I have an object that I should marshall into xml. - If there are tags matching a certain name, I need to add a comment before that tag. - If there are tags matching that very name I should check the tag's content if it needs instead to be added as CDATA (if it contains one of the escape chars <>&'") I did that and I get output that looks OK to me (but I'm not sure as I'm even not sure if I understand what CG wants from me)? 😏😩🥺 hmmmm, mmmm