Steven/Chris-

To answer the last question, yes, if you use a FieldHandler to wrap
data in CDATA blocks, the serializer will escape the leading <
character(s).  The way to get around this has been discussed recently
on the list, but basically consists of instantiating your own
XMLSerializer and configuring it correctly.

Stephen


On 4/19/06, ELVART, CHRISTOPHER (SBCSI) <[EMAIL PROTECTED]> wrote:
> > Keith said...
> >> It's probably not the best solution, but you can use the
> >> getFieldDescriptor() method of AbstractFieldHandler
> (GeneralizedFieldHandler)
> >> to find out about the which field is being processed and you can do
> the
> >> proper padding as necessary.
>
> This sounds OK to me.  You could just subclass it and have it look to
> singleton object you configure with settings on a field by field basis.
> There is supposed to be a way to have a FieldHandlerFactory use a class
> you specify by default.  I have not tried it.
>
> > Steven said...
> >> I also have to do a FieldHandler to wrap all of the elements in
> CDATA[] tags.
>
> Did you actually get this to work?  From reading the other posts about
> this it sounds like the < at the start will be escaped.  Not true?
>
> Chris Elvart
> AT&T
>
> -------------------------------------------------
> If you wish to unsubscribe from this list, please
> send an empty message to the following address:
>
> [EMAIL PROTECTED]
> -------------------------------------------------
>
>

Reply via email to