Farrukh -
This XML declaration doesn't seem to present a problem(so far for UDDI
registries)
Actually, I have tried stripping it out as well and it made no difference
- however,
I did not get any parsing errors either way.
Kathy

Farrukh Najmi wrote:

> I am marshaling a Castor object to be enclosed within a SOAP message.
> The marshal method outputs the XML declaration like:
>
> <?xml version="1.0"?>
>
> at the top of the output. Is there a way to tell Castor to not do that
> since when it is in the middle if a SOAP message it causes errors in
> parsers.
>
> Alternatively does anyone have code they can share that strips the XML
> declaration out? Thanks.
>
> --
> Regards,
> Farrukh
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to