Thanks a lot, Keith!

The only problem for me is that this also keeps the newlines, which
unfortunately breaks my code.

Do you happen to know of a workaround that will fix the spaces, but not keep
the newlines.

In fact, perhaps you point me to the code that was fixed so I can make a
patch locally.. I'd really appreciate that.


Thanks so much!




> -----Original Message-----
> From: Keith Visco [mailto:[EMAIL PROTECTED]
> Sent: 22 September 2004 17:14
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-user] [XML] Strange behavior when unmarshalling
>
>
>
>
> Hi David,
>
> This was a bug in the Unmarshaller, it was previously fixed in the CVS
> version of Castor.
>
> Please see the following posts on the Castor Forums for more information
> as well as a work-around for Castor 0.9.5.3 if you can't upgrade to the
> CVS version:
>
> http://castor.exolab.org/phpBB2/viewtopic.php?t=206
>
> --Keith
>
> David Leangen wrote:
> >
> > I noticed something strange when unmarshalling, and I haven't
> been able to
> > figure out exactly under what circumstances the problem occurs.
> >
> > Under some mysterious circumstances, whitespaces get eliminated from my
> > strings. I noticed that if I change the size of my file, the output is
> > correct. Or, if I add a few extra characters to the beginning
> of my string,
> > it comes out ok.
> >
> > However, from time to time, for some reason, spaces get cut out.
> >
> >
> > Any ideas?
> >
> >
> > I would gladly provide more details, if needed.
> >
> >
> > Thanks!
> >
> >
> >
> > -----------------------------------------------------------
> > If you wish to unsubscribe from this mailing, send mail to
> > [EMAIL PROTECTED] with a subject of:
> >         unsubscribe castor-user
> >
>
>
>
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-user



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

Reply via email to