DataSet.GetXml() appends \r\n to every tag in return string - .NET 1.1

  • Thread starter Thread starter Erik Miller
  • Start date Start date
E

Erik Miller

Can someone help me understand why in .NET 1.0 - DataSet.GetXml()
returns a string without \r\n after every tag, but in 1.1 it appends a
\r\n to every tag.

This is a causing problems when I pass that string returned from the
function to a stored procedure to be parsed into a TEMP table I get an
error. I can do a string.Replace("\r\n", string.Empty) to remove this
from my string, but I am wondering why this was done in the first
place. I see no added value to a XML string that cannot be parsed.

Thanks in advance!

Erik
 
Back
Top