[This is preliminary documentation and subject to change.]
Will assertions and comparisions care about the whitespace in xml?
Sample:
string s1 = "<a></a>"; string s2 = "<a> \r\n\t</a>"; XMLAssert xa = XMLAssert.CreateInstance(); xa.IsWhitespaceSensitive = false; xa.AreEqual(s1, s2); xa.IsWhitespaceSensitive = true; xa.AreEqual(s1, s2); // Failed!
AssertStrategy Class | NXUnit.Framework Namespace