Hi there.
I have some java beans generated from an XML Schema.
Whenever I set a string property to a value that contains linefeeds, the generated XML
document contains no linefeeds, thus giving me the wrong value after unmarshalling.
Code looks like this:
Service service = new Service();
service.setDescription("First line\nSecond line");
StringWriter sw = new StringWriter();
service.marshal(sw);
System.out.println(sw.toString());
Is there something I need to reconfigure?
Hiran
-----------------------------------------
Hiran Chaudhuri
SAG Systemhaus GmbH
Elsenheimer Stra�e 11
80867 M�nchen
Phone +49-89-54 74 21 34
Fax +49-89-54 74 21 99
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user