Treatment of ampersands " and Hex Values

Dec 10, 2010 at 6:14 PM
Edited Dec 10, 2010 at 6:35 PM

1. We have an xml config file that contained formatting for SMTPTraceListener output

body="{Message}
=======
Process={ProcessId},
Thread={ThreadId},
ActivityId={ActivityId}"

I think what this does is puts a line break in the (non-HTML) email sent by the SMTPTraceListener. The ouput of XMLPreprocessor seems to change the 
 to a more physical CRLF (carriage return/line feed), which doesn't seem to hurt, but seems like it should not take that liberty.

 

2. Minor issue with " getting expanded to "

This doesn't actually seem to cause a problem but it's confusing when we try to do a compare between the config files.

Before:

connectionString="metadata=res://*/EagleConnect.csdl|res://*/MyDatabase.ssdl|res://*/MyDatabase.msl;provider=System.Data.SqlClient;provider connection string="Data Source=MySQLServer;Initial Catalog=MyDatabase_DFIntegration;Trusted_Connection=True;"" />

After:

connectionString="metadata=res://*/EagleConnect.csdl|res://*/MyDatabase.ssdl|res://*/MyDatabase.msl;provider=System.Data.SqlClient;provider connection string="Data Source=MySQLServer;Initial Catalog=MyDatabase_Test;Trusted_Connection=True;"" />

Any ideas appreciated.

Neal