|
[tag libraries]
[tags]
Attribute Name | Type | Description |
SAXReader | org.dom4j.io.SAXReader | Sets the SAXReader used for parsing |
escapeText | boolean |
|
trim | boolean |
|
Compares two XML documents using XMLUnit (http://xmlunit.sourceforge.net/).If they are different an exception will be thrown.
Attribute Name | Type | Description |
SAXReader | org.dom4j.io.SAXReader | Sets the SAXReader used for parsing |
actual | java.lang.Object | Sets the actual XML document which is either a Document, String (of anURI), URI, Reader, or InputStream. |
escapeText | boolean |
|
expected | java.lang.Object | Sets the expected XML document which is either a Document, String (of anURI), URI, Reader, or InputStream. |
ignoreWhitespace | boolean | Controls whether whitespace differences should be interpreted asdifferences or not. The default is
false
. Note that theuse of the
trim
attribute is crucial here. |
trim | boolean |
|
Attribute Name | Type | Description |
SAXReader | org.dom4j.io.SAXReader | Sets the SAXReader used for parsing |
escapeText | boolean |
|
trim | boolean |
|
|