Hi all,

When provided with a String longer than a certain
length, Castor wraps the text when marshalling to XML.
In doing so, it inserts a bunch of spaces in order to
indent the second line. So, if a string property of my
class is:

"The quick brown fox jumped over the lazy dogs until
the dogs got sick of it and gave the fox a serious
smacking around, and he never jumped over dogs again"

and I marshall the file, the XML file looks like:

<myProperty>
    The quick brown fox jumped over the lazy
      dogs until the dogs got sick of it and
      gave the fox a serious smacking around,
      and he never jumped over dogs again
</myProperty>

so when I unmarshall the file and print the property
from my class, it looks like:

"The quick brown fox jumped over the lazy        dogs
until the dogs got sick of it and        gave the fox a
serious smacking around,      and he never jumped over
dogs again"

How can I avoid this behavior so that the String I
unmarshall is the same one I marshall?

Thanks very much for any help,

Gregg

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

Reply via email to