/* From http://xmlunit.sourceforge.net/ Moved here because the original library is for testing, and
 * it is tied to nunit, which we don't want to ship in production
 */

namespace Palaso.Lift.Merging.XmlDiff
{
	///<summary></summary>
	public class Differences {
		private Differences() { }

		///<summary></summary>
		public static bool isMajorDifference(DifferenceType differenceType) {
			switch (differenceType) {
				case DifferenceType.ATTR_SEQUENCE_ID:
					return false;
				case DifferenceType.HAS_XML_DECLARATION_PREFIX_ID:
					return false;
				default:
					return true;
			}
		}

	}
}
