Describes the type of difference found.

Namespace:  MbUnit.Framework.Xml
Assembly:  MbUnit.Compatibility (in MbUnit.Compatibility.dll) Version: 3.3.0.0 (3.3.459.0)

Syntax

C#
public enum DifferenceType
Visual Basic (Declaration)
Public Enumeration DifferenceType

Members

Member nameDescription
AttributeValueExplicitlySpecified
Comparing an implied attribute value against an explicit value
AttributeNameNotFound
Comparing 2 elements and one has an attribute the other does not
AttributeValue
Comparing 2 attributes with the same name but different values
AttributeSequence
Comparing 2 attribute lists with the same attributes in different sequence
CDATAValue
Comparing 2 CDATA sections with different values
CommentValue
Comparing 2 comments with different values
DOCTYPE_NAME_ID
Comparing 2 document types with different names
DocTypePublicID
Comparing 2 document types with different public identifiers
DocTypeSystemID
Comparing 2 document types with different system identifiers
ElementTagName
Comparing 2 elements with different tag names
ELEMENT_NUM_ATTRIBUTES_ID
Comparing 2 elements with different number of attributes
PROCESSING_INSTRUCTION_TARGET_ID
Comparing 2 processing instructions with different targets
PROCESSING_INSTRUCTION_DATA_ID
Comparing 2 processing instructions with different instructions
TEXT_VALUE_ID
Comparing 2 different text values
NAMESPACE_PREFIX_ID
Comparing 2 nodes with different namespace prefixes
NAMESPACE_URI_ID
Comparing 2 nodes with different namespace URIs
NODE_TYPE_ID
Comparing 2 nodes with different node types
HAS_CHILD_NODES_ID
Comparing 2 nodes but only one has any children
CHILD_NODELIST_LENGTH_ID
Comparing 2 nodes with different numbers of children
CHILD_NODELIST_SEQUENCE_ID
Comparing 2 nodes with children whose nodes are in different sequence
HAS_DOCTYPE_DECLARATION_ID
Comparing 2 Documents only one of which has a doctype
HAS_XML_DECLARATION_PREFIX_ID
Comparing 2 Documents only one of which has an XML Prefix Declaration
Format
Formats an object using the default IFormatter.
Format
Formats an object using the specified IFormatter.

See Also