XMLDiff fails to recognize differences correcly?
问题 What am I missing here? Is there an option that XMLDiff should care about element names and seek for best match to recognize following changes correctly? a Helper class for making comparisons between two XML files: public class XMLDiffer { public XDocument Diff(string originalXML, string changedXML) { //http://msdn2.microsoft.com/en-us/library/aa302294.aspx XmlDiff xmlDiff = new XmlDiff(XmlDiffOptions.IgnoreChildOrder | XmlDiffOptions.IgnoreComments | XmlDiffOptions.IgnoreWhitespace); xmlDiff