Tag Documentation

[tag libraries] [tags]

The following document contains a summary of all theJellytag libraries.

Tag Libraries

[tag libraries] [tags]

LibraryDescription
jelly:xmlunit

Compares two XML documents using XMLUnit

jelly:xmlunit

Compares two XML documents using XMLUnit

Tag NameDescription
actual
assertDocumentsEqualCompares two XML documents using XMLUnit (http://xmlunit.sourceforge.net/).If they are different an exception will be thrown.
expected

Tags

[tag libraries] [tags]

xmlunit:actual

Attribute NameTypeDescription
SAXReaderorg.dom4j.io.SAXReaderSets the SAXReader used for parsing
escapeTextboolean
trimboolean

xmlunit:assertDocumentsEqual

Compares two XML documents using XMLUnit (http://xmlunit.sourceforge.net/).If they are different an exception will be thrown.

Attribute NameTypeDescription
SAXReaderorg.dom4j.io.SAXReaderSets the SAXReader used for parsing
actualjava.lang.ObjectSets the actual XML document which is either a Document, String (of anURI), URI, Reader, or InputStream.
escapeTextboolean
expectedjava.lang.ObjectSets the expected XML document which is either a Document, String (of anURI), URI, Reader, or InputStream.
ignoreWhitespacebooleanControls whether whitespace differences should be interpreted asdifferences or not. The default is false . Note that theuse of the trim attribute is crucial here.
trimboolean

xmlunit:expected

Attribute NameTypeDescription
SAXReaderorg.dom4j.io.SAXReaderSets the SAXReader used for parsing
escapeTextboolean
trimboolean