You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@wink.apache.org by Serafin Sedano <se...@abiquo.com> on 2011/09/20 16:13:00 UTC

Marshall CDATA with wink

Hi all,

It is possible to marshall CDATA tags using wink?

We retrieve it well formatted from DB. But when Wink processes it to produce
XML it escapes some characters (new lines). We though on place it in a CDATA
tag. Although JAXB does not produces it directly by coding a XmlAdapter and
use it it can  be achivied. But wink keeps escaping the tags.Can we modify
the properties of the marshaller? How do we do to serialize an XML attribute
with no escape at all.

Thank you.