UnchangedElementHasChildrenException ClassXML Compare .NET API Documentation
XML Compare .NET API Documentation - DEPRECATED
In a changes-only delta, an unchanged element should not have any child attributes or elements.
Inheritance Hierarchy

System Object
  System Exception
    Throwable
      Exception
        com.deltaxml.api DeltaXMLException
          com.deltaxml.api DeltaXMLProcessingException
            com.deltaxml.api UnchangedElementHasChildrenException

Namespace: com.deltaxml.api
Assembly: deltaxml (in deltaxml.dll) Version: 10.4.0.1000
Syntax

[SerializableAttribute]
public class UnchangedElementHasChildrenException : DeltaXMLProcessingException
Remarks

In a changes-only delta, an unchanged element should not have any child attributes or elements. This is the core difference between a full-context delta and a changes-only one, for a combine a changes-only delta is used to apply the changes to one input XML document to re-create the second input XML document. A combine with a full-context delta doesn't make sense as it is possible to extract both input XML documents without combining (there are XSLT filters to achieve this included in the release).

A method is supplied to get the xpath of the unchanged element that incorrectly contains child attributes and elements.

Note: the getErrorCode() method is provided for compatibility with earlier XML Compare releases; when called with this exception the result will be: 53

See Also