Relevant parts of my code:
That is my output:
You can see that the CDATA part is commented out different from the original code and there is nothing but the tags and the serialized object.
Interestingly in another SEAM project here there is no problem doing this. In this working code they left out /* <![CDATA[ */ and /* ]]> */ which I tried as well in my example but then my xhtml file is not well formed any more.
I switched facelets.SKIP_COMMENTS from true to false in the web.xml but that has no effect.
Removing the prolog in the first line does not change anything either.
Maybe someone has an idea.