public class DifferentRootElementException extends DeltaXMLDocBookException
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.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNamespacedName1()
Reports namespaced-name of the root element of the first comparison input.
|
java.lang.String |
getNamespacedName2()
Reports namespaced-name of the root element of the second comparison input.
|
java.lang.String |
getQName1()
Report the QName of the root element of the first comparison input.
|
java.lang.String |
getQName2()
Report the QName of the second comparison input root.
|
public java.lang.String getQName1()
public java.lang.String getQName2()
public java.lang.String getNamespacedName1()
public java.lang.String getNamespacedName2()
Copyright (c) 2010-2016 DeltaXML Ltd. All Rights Reserved.