Found what was causing this. When using setPreserveSpace(false) in the OutputFormat the serializer converts '\n' to ' '.
What is the rationale for this? John > -----Original Message----- > From: John Hughes [mailto:[EMAIL PROTECTED] > Sent: 25 February 2004 11:30 > To: [EMAIL PROTECTED] > Subject: XMLSerializer > > > I'm using XMLSerializer to output some base64 encoded information within > certain elements. the base64 information has '\n' line > separators. However > after serialization this '\n' are converted into spaces. > > Has any one seen this? and how can I preserve the '\n' values so they are > not converted? > > > john > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
