public class DifferingOrderedAttributesException extends DeltaXMLProcessingException
The deltaxml:ordered attribute is placed on elements to control whether its children are compared using the ordered comparison algorithm or the orderless algorithm. The attribute should be the same on matching elements in input1 and input2. If it is only on one of the inputs, it is impossible to decide which algorithm to compare the elements with. In this situation, the comparison will treat the two elements as different and output them as an exchange with deltaV1 and as an add and a delete in deltaV2.
Methods are provided to report the XPaths of the elements from input1 and input2 which have differing deltaxml:ordered values and cannot be compared.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 401
|Constructor and Description|
Construct a new DifferingOrderedAttributesException appropriate for use in the XML Compare code.
|Modifier and Type||Method and Description|
Report the node form input 1 which has a different deltaxml:ordered value to that of input 2.
Report the node form input 2 which has a different deltaxml:ordered value to that of input 1.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DifferingOrderedAttributesException(com.deltaxml.XMLarray.Node input1Elem, com.deltaxml.XMLarray.Node input2Elem)
input1Elem- the node form input 1 which has a different deltaxml:ordered value to that of input 2
input2Elem- the node form input 2 which has a different deltaxml:ordered value to that of input 1
public java.lang.String getInput1Elem()
public java.lang.String getInput2Elem()
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.