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.
Note: the getErrorCode()
method is provided for compatibility with earlier XML Compare releases; when
called with this exception the result will be: 47
Constructor and Description |
---|
UnorderedElementContainingPCDATAException(java.lang.String element)
Construct a new UnorderedElementContainingPCDATAException appropriate for use with the XML Compare code.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIncorrectElement()
Report the unordered element containing PCDATA.
|
getErrorCode, getSeverity
getCause, getThrowable
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.