[This is preliminary documentation and subject to change.]
Will assertions and comparisions care about the empty element?
Sample:
string s1 = "<a><b/></a>"; string s2 = "<a></a>"; XMLAssert xa = XMLAssert.CreateInstance(); xa.IsEmptyElementSensitive = false; xa.AreEqual(s1, s2); xa.IsEmptyElementSensitive = true; xa.AreEqual(s1, s2); // Failed!
AssertStrategy Class | NXUnit.Framework Namespace