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