example comparing: test17 trimming content of elements and attributes

basic-control-file: cmp17.xml
<?xml version="1.0" encoding="UTF-8"?>
<delivery>
	<list_person>
		<person >
			<name      ident_text="true"  />
			<firstname   cmp_text="true" 
				   conv_text1_class="de.sofika.test.ConvertTrim"
				   conv_text2_class="de.sofika.test.ConvertTrim"
				cmp_att_alter="true" 
				   conv_att1_class_alter="de.sofika.test.ConvertTrim"
				   conv_att2_class_alter="de.sofika.test.ConvertTrim"
				   />

		</person>
	</list_person>
</delivery>
explanation

The attribute "alter" of element <firstname> and the content of element <firstname> are different. But: Because their value is trimmed (=removing leading and trailing white-spaces) before comparing, they are no longer different.
There will be no error-messages.
If you set shell-variable "isTrimAll" to "true", then content of all element and attributes will be trimmed before comparison.

file: test17a.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person>
			<name>Fischer</name>
			<firstname alter='20'>Hans</firstname>
		</person>
		<person>
			<name>Becker</name>
			<firstname>Claudia</firstname>
		</person>
	</list_person>
</delivery>
file: test17b.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person>
			<name>Fischer</name>
			<firstname alter=' 
			
			20'> 
			
			Hans
			
			</firstname>
		</person>
		<person>
			<name>Becker</name>
			<firstname>Claudia</firstname>
		</person>
	</list_person>
</delivery>