public class UnorderedElementContainingPCDATAException extends DeltaXMLProcessingException
The orderless comparator cannot process mixed XML content, that is an element containing child elements and PCDATA. While child elements are allowed, PCDATA is not (we consider that orderless PCDATA has little meaning and cannot for example be considered a meaningful document). This exception is used to report when PCDATA is found inside an orderless element.
getErrorCode() method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 47
|Constructor and Description|
Construct a new UnorderedElementContainingPCDATAException appropriate for use with the XML Compare code.
|Modifier and Type||Method and Description|
Report the unordered element containing PCDATA.
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnorderedElementContainingPCDATAException(java.lang.String element)
element- String used to represent the XPath of the erroneous element.
Copyright © 2001-2018 DeltaXML Ltd. All Rights Reserved.