WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
I'm currently working on a project where I need to produce the same
XML as a legacy system and one funny behavior the old system has is it
always wraps each elment value in a CDATA tag. At first we thought
@XmlCDATA would be exactly what we need and it is, however the old
system omits the CDATA tag if the element value is blank.
Any ideas how I could accomplish this? I keep thinking that an
@XmlWriteTransformer might be what we need but I'm unsure of how to