DifferentRootElementException ClassDeltaXML DITA Compare .NET API Documentation
DeltaXML DITA Compare .NET API Documentation
Indicates that the inputs have different root elements.
Inheritance Hierarchy

System Object
  System Exception
    Throwable
      Exception
        com.deltaxml.dita DeltaXMLDitaException
          com.deltaxml.dita DifferentRootElementException

Namespace: com.deltaxml.dita
Assembly: deltaxml-dita (in deltaxml-dita.dll) Version: 9.1.1.1000
Syntax

[SerializableAttribute]
public class DifferentRootElementException : DeltaXMLDitaException
Remarks

Indicates that the inputs have different root elements.

It is not possible to compare input files with different root elements with this product. Files being compared must, after having passed through the input filters, have the same root elements.

The definition of equivalence/equality for root elements is: if one element is in a namespace then the other element must be in a namespace with the same URI; additionally the localNames of the elements must be identical. Note that this does not preclude, for example, using different namespace prefixes or different use of a default namespace.

See Also