example comparing: test13 converting of number- and date-elements

basic-control-file: cmp13.xml
<?xml version="1.0" encoding="UTF-8"?>
<delivery>
<list_person>
<person ident_att_id="true" >
	<size        cmp_text="true" 
	                conv_text1_class="de.sofika.test.ConvertNumber"
			conv_text1_out="0000"
	                conv_text2_class="de.sofika.test.ConvertNumber"
			conv_text2_out="0000"/>
	<birthdate   cmp_text="true" 
	                conv_text1_class="de.sofika.test.ConvertDate" 
			conv_text1_in="yyyy-MM-dd"
			conv_text1_out="yyyyMMdd"
	                conv_text2_class="de.sofika.test.ConvertDate" 
			conv_text2_in="yyyy.MM.dd"
			conv_text2_out="yyyyMMdd"/>
	<firstname   cmp_text="true" />
	<name        cmp_text="true" />
</person>
</list_person>
</delivery>
explanation

The content of the two files is not equal. The elements <size> and <birthdate> have the same content, but are differently formatted. In the basic-control-files there are rules define for converting the different format in a unique format. This converting is done before the comparing of the elements. So the comparison cannot find any differences.

file: test13a.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person id='588520'>
			<name>Fischer</name>
			<firstname>Hans</firstname>
			<birthdate>1999-10-04</birthdate>
			<size>180</size>
		</person>
		<person id='588521'>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>1990-01-18</birthdate>
			<size>183</size>
		</person>
	</list_person>
</delivery>
file: test13b.xml
<?xml version='1.0' encoding='UTF-8'?>
<delivery>
	<list_person>
		<person id='588520'>
			<name>Fischer</name>
			<firstname>Hans</firstname>
			<birthdate>1999.10.04</birthdate>
			<size>  180 </size>
		</person>
		<person id='588521'>
			<name>Becker</name>
			<firstname>Claudia</firstname>
			<birthdate>1990.01.18</birthdate>
			<size>00183</size>
		</person>
	</list_person>
</delivery>