Testsuite: org.simpleframework.xml.core.MapTest
Tests run: 11, Failures: 0, Errors: 0, Time elapsed: 0.709 sec
------------- Standard Output ---------------
<entryMap>
   <map class="java.util.HashMap">
      <entry key="d">
         <mapEntry>
            <name>d</name>
            <value>example 4</value>
         </mapEntry>
      </entry>
      <entry key="a">
         <mapEntry>
            <name>a</name>
            <value>example 1</value>
         </mapEntry>
      </entry>
      <entry key="c">
         <mapEntry>
            <name>c</name>
            <value>example 3</value>
         </mapEntry>
      </entry>
      <entry key="b">
         <mapEntry>
            <name>b</name>
            <value>example 2</value>
         </mapEntry>
      </entry>
   </map>
</entryMap><entryMap>
   <map class="java.util.HashMap">
      <entry key="d">
         <mapEntry>
            <name>d</name>
            <value>example 4</value>
         </mapEntry>
      </entry>
      <entry key="a">
         <mapEntry>
            <name>a</name>
            <value>example 1</value>
         </mapEntry>
      </entry>
      <entry key="c">
         <mapEntry>
            <name>c</name>
            <value>example 3</value>
         </mapEntry>
      </entry>
      <entry key="b">
         <mapEntry>
            <name>b</name>
            <value>example 2</value>
         </mapEntry>
      </entry>
   </map>
</entryMap>
<entry-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry key="d">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="2">
            <!-- java.lang.String -->
            <name ID="3">d</name>
            <!-- java.lang.String -->
            <value ID="4">example 4</value>
         </map-entry>
      </entry>
      <entry key="a">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="5">
            <!-- java.lang.String -->
            <name ID="6">a</name>
            <!-- java.lang.String -->
            <value ID="7">example 1</value>
         </map-entry>
      </entry>
      <entry key="c">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="8">
            <!-- java.lang.String -->
            <name ID="9">c</name>
            <!-- java.lang.String -->
            <value ID="10">example 3</value>
         </map-entry>
      </entry>
      <entry key="b">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="11">
            <!-- java.lang.String -->
            <name ID="12">b</name>
            <!-- java.lang.String -->
            <value ID="13">example 2</value>
         </map-entry>
      </entry>
   </map>
</entry-map>>>>>> ELEMENT=[element entry-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$EntryMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<EntryMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry key="d">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="2">
            <!-- java.lang.String -->
            <Name ID="3">d</Name>
            <!-- java.lang.String -->
            <Value ID="4">example 4</Value>
         </MapEntry>
      </Entry>
      <Entry key="a">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="5">
            <!-- java.lang.String -->
            <Name ID="6">a</Name>
            <!-- java.lang.String -->
            <Value ID="7">example 1</Value>
         </MapEntry>
      </Entry>
      <Entry key="c">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="8">
            <!-- java.lang.String -->
            <Name ID="9">c</Name>
            <!-- java.lang.String -->
            <Value ID="10">example 3</Value>
         </MapEntry>
      </Entry>
      <Entry key="b">
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="11">
            <!-- java.lang.String -->
            <Name ID="12">b</Name>
            <!-- java.lang.String -->
            <Value ID="13">example 2</Value>
         </MapEntry>
      </Entry>
   </Map>
</EntryMap>>>>>> ELEMENT=[element EntryMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$EntryMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<stringMap>
   <map class="java.util.HashMap">
      <entry letter="d"><![CDATA[example 4]]></entry>
      <entry letter="a"><![CDATA[example 1]]></entry>
      <entry letter="c"><![CDATA[example 3]]></entry>
      <entry letter="b"><![CDATA[example 2]]></entry>
   </map>
</stringMap><stringMap>
   <map class="java.util.HashMap">
      <entry letter="d"><![CDATA[example 4]]></entry>
      <entry letter="a"><![CDATA[example 1]]></entry>
      <entry letter="c"><![CDATA[example 3]]></entry>
      <entry letter="b"><![CDATA[example 2]]></entry>
   </map>
</stringMap>
<string-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <!-- java.lang.String -->
      <entry letter="d" ID="2"><![CDATA[example 4]]></entry>
      <!-- java.lang.String -->
      <entry letter="a" ID="3"><![CDATA[example 1]]></entry>
      <!-- java.lang.String -->
      <entry letter="c" ID="4"><![CDATA[example 3]]></entry>
      <!-- java.lang.String -->
      <entry letter="b" ID="5"><![CDATA[example 2]]></entry>
   </map>
</string-map>>>>>> ELEMENT=[element string-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$StringMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<StringMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <!-- java.lang.String -->
      <Entry letter="d" ID="2"><![CDATA[example 4]]></Entry>
      <!-- java.lang.String -->
      <Entry letter="a" ID="3"><![CDATA[example 1]]></Entry>
      <!-- java.lang.String -->
      <Entry letter="c" ID="4"><![CDATA[example 3]]></Entry>
      <!-- java.lang.String -->
      <Entry letter="b" ID="5"><![CDATA[example 2]]></Entry>
   </Map>
</StringMap>>>>>> ELEMENT=[element StringMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$StringMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<complexMap>
   <map class="java.util.HashMap">
      <entry>
         <compositeKey>
            <name>name 3</name>
            <address>address 3</address>
         </compositeKey>
         <mapEntry>
            <name>c</name>
            <value>example 3</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name 1</name>
            <address>address 1</address>
         </compositeKey>
         <mapEntry>
            <name>a</name>
            <value>example 1</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name 2</name>
            <address>address 2</address>
         </compositeKey>
         <mapEntry>
            <name>b</name>
            <value>example 2</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name 4</name>
            <address>address 4</address>
         </compositeKey>
         <mapEntry>
            <name>d</name>
            <value>example 4</value>
         </mapEntry>
      </entry>
   </map>
</complexMap><complexMap>
   <map class="java.util.HashMap">
      <entry>
         <compositeKey>
            <name>name 3</name>
            <address>address 3</address>
         </compositeKey>
         <mapEntry>
            <name>c</name>
            <value>example 3</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name 1</name>
            <address>address 1</address>
         </compositeKey>
         <mapEntry>
            <name>a</name>
            <value>example 1</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name 2</name>
            <address>address 2</address>
         </compositeKey>
         <mapEntry>
            <name>b</name>
            <value>example 2</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name 4</name>
            <address>address 4</address>
         </compositeKey>
         <mapEntry>
            <name>d</name>
            <value>example 4</value>
         </mapEntry>
      </entry>
   </map>
</complexMap>
<complex-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="2">
            <!-- java.lang.String -->
            <name ID="3">name 3</name>
            <!-- java.lang.String -->
            <address ID="4">address 3</address>
         </composite-key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="5">
            <!-- java.lang.String -->
            <name ID="6">c</name>
            <!-- java.lang.String -->
            <value ID="7">example 3</value>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="8">
            <!-- java.lang.String -->
            <name ID="9">name 1</name>
            <!-- java.lang.String -->
            <address ID="10">address 1</address>
         </composite-key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="11">
            <!-- java.lang.String -->
            <name ID="12">a</name>
            <!-- java.lang.String -->
            <value ID="13">example 1</value>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="14">
            <!-- java.lang.String -->
            <name ID="15">name 2</name>
            <!-- java.lang.String -->
            <address ID="16">address 2</address>
         </composite-key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="17">
            <!-- java.lang.String -->
            <name ID="18">b</name>
            <!-- java.lang.String -->
            <value ID="19">example 2</value>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="20">
            <!-- java.lang.String -->
            <name ID="21">name 4</name>
            <!-- java.lang.String -->
            <address ID="22">address 4</address>
         </composite-key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="23">
            <!-- java.lang.String -->
            <name ID="24">d</name>
            <!-- java.lang.String -->
            <value ID="25">example 4</value>
         </map-entry>
      </entry>
   </map>
</complex-map>>>>>> ELEMENT=[element complex-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$ComplexMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<ComplexMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="2">
            <!-- java.lang.String -->
            <Name ID="3">name 3</Name>
            <!-- java.lang.String -->
            <Address ID="4">address 3</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="5">
            <!-- java.lang.String -->
            <Name ID="6">c</Name>
            <!-- java.lang.String -->
            <Value ID="7">example 3</Value>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="8">
            <!-- java.lang.String -->
            <Name ID="9">name 1</Name>
            <!-- java.lang.String -->
            <Address ID="10">address 1</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="11">
            <!-- java.lang.String -->
            <Name ID="12">a</Name>
            <!-- java.lang.String -->
            <Value ID="13">example 1</Value>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="14">
            <!-- java.lang.String -->
            <Name ID="15">name 2</Name>
            <!-- java.lang.String -->
            <Address ID="16">address 2</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="17">
            <!-- java.lang.String -->
            <Name ID="18">b</Name>
            <!-- java.lang.String -->
            <Value ID="19">example 2</Value>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="20">
            <!-- java.lang.String -->
            <Name ID="21">name 4</Name>
            <!-- java.lang.String -->
            <Address ID="22">address 4</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="23">
            <!-- java.lang.String -->
            <Name ID="24">d</Name>
            <!-- java.lang.String -->
            <Value ID="25">example 4</Value>
         </MapEntry>
      </Entry>
   </Map>
</ComplexMap>>>>>> ELEMENT=[element ComplexMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$ComplexMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<primitiveMap>
   <table class="java.util.HashMap">
      <entry>
         <string>one</string>
         <bigDecimal>1.0</bigDecimal>
      </entry>
      <entry>
         <string>two</string>
         <bigDecimal>2.0</bigDecimal>
      </entry>
      <entry>
         <string>four</string>
         <bigDecimal>4.0</bigDecimal>
      </entry>
      <entry>
         <string>three</string>
         <bigDecimal>3.0</bigDecimal>
      </entry>
   </table>
</primitiveMap><primitiveMap>
   <table class="java.util.HashMap">
      <entry>
         <string>one</string>
         <bigDecimal>1.0</bigDecimal>
      </entry>
      <entry>
         <string>two</string>
         <bigDecimal>2.0</bigDecimal>
      </entry>
      <entry>
         <string>four</string>
         <bigDecimal>4.0</bigDecimal>
      </entry>
      <entry>
         <string>three</string>
         <bigDecimal>3.0</bigDecimal>
      </entry>
   </table>
</primitiveMap>
<primitive-map ID="0">
   <!-- java.util.Map -->
   <table class="java.util.HashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">one</string>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="3">1.0</big-decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="4">two</string>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="5">2.0</big-decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="6">four</string>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="7">4.0</big-decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="8">three</string>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="9">3.0</big-decimal>
      </entry>
   </table>
</primitive-map>>>>>> ELEMENT=[element primitive-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<PrimitiveMap ID="0">
   <!-- java.util.Map -->
   <Table class="java.util.HashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">one</String>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="3">1.0</bigDecimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="4">two</String>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="5">2.0</bigDecimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="6">four</String>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="7">4.0</bigDecimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="8">three</String>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="9">3.0</bigDecimal>
      </Entry>
   </Table>
</PrimitiveMap>>>>>> ELEMENT=[element PrimitiveMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<primitiveValueOverrideMap>
   <map class="java.util.HashMap">
      <entry>
         <string>one</string>
         <decimal>1.0</decimal>
      </entry>
      <entry>
         <string>two</string>
         <decimal>2.0</decimal>
      </entry>
      <entry>
         <string>four</string>
         <decimal>4.0</decimal>
      </entry>
      <entry>
         <string>three</string>
         <decimal>3.0</decimal>
      </entry>
   </map>
</primitiveValueOverrideMap><primitiveValueOverrideMap>
   <map class="java.util.HashMap">
      <entry>
         <string>one</string>
         <decimal>1.0</decimal>
      </entry>
      <entry>
         <string>two</string>
         <decimal>2.0</decimal>
      </entry>
      <entry>
         <string>four</string>
         <decimal>4.0</decimal>
      </entry>
      <entry>
         <string>three</string>
         <decimal>3.0</decimal>
      </entry>
   </map>
</primitiveValueOverrideMap>
<primitive-value-override-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">one</string>
         <!-- java.math.BigDecimal -->
         <decimal ID="3">1.0</decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="4">two</string>
         <!-- java.math.BigDecimal -->
         <decimal ID="5">2.0</decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="6">four</string>
         <!-- java.math.BigDecimal -->
         <decimal ID="7">4.0</decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="8">three</string>
         <!-- java.math.BigDecimal -->
         <decimal ID="9">3.0</decimal>
      </entry>
   </map>
</primitive-value-override-map>>>>>> ELEMENT=[element primitive-value-override-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveValueOverrideMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<PrimitiveValueOverrideMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">one</String>
         <!-- java.math.BigDecimal -->
         <decimal ID="3">1.0</decimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="4">two</String>
         <!-- java.math.BigDecimal -->
         <decimal ID="5">2.0</decimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="6">four</String>
         <!-- java.math.BigDecimal -->
         <decimal ID="7">4.0</decimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="8">three</String>
         <!-- java.math.BigDecimal -->
         <decimal ID="9">3.0</decimal>
      </Entry>
   </Map>
</PrimitiveValueOverrideMap>>>>>> ELEMENT=[element PrimitiveValueOverrideMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveValueOverrideMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<primitiveValueKeyOverrideMap>
   <map class="java.util.HashMap">
      <item>
         <text>one</text>
         <decimal>1.0</decimal>
      </item>
      <item>
         <text>two</text>
         <decimal>2.0</decimal>
      </item>
      <item>
         <text>four</text>
         <decimal>4.0</decimal>
      </item>
      <item>
         <text>three</text>
         <decimal>3.0</decimal>
      </item>
   </map>
</primitiveValueKeyOverrideMap><primitiveValueKeyOverrideMap>
   <map class="java.util.HashMap">
      <item>
         <text>one</text>
         <decimal>1.0</decimal>
      </item>
      <item>
         <text>two</text>
         <decimal>2.0</decimal>
      </item>
      <item>
         <text>four</text>
         <decimal>4.0</decimal>
      </item>
      <item>
         <text>three</text>
         <decimal>3.0</decimal>
      </item>
   </map>
</primitiveValueKeyOverrideMap>
<primitive-value-key-override-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <item>
         <!-- java.lang.String -->
         <text ID="2">one</text>
         <!-- java.math.BigDecimal -->
         <decimal ID="3">1.0</decimal>
      </item>
      <item>
         <!-- java.lang.String -->
         <text ID="4">two</text>
         <!-- java.math.BigDecimal -->
         <decimal ID="5">2.0</decimal>
      </item>
      <item>
         <!-- java.lang.String -->
         <text ID="6">four</text>
         <!-- java.math.BigDecimal -->
         <decimal ID="7">4.0</decimal>
      </item>
      <item>
         <!-- java.lang.String -->
         <text ID="8">three</text>
         <!-- java.math.BigDecimal -->
         <decimal ID="9">3.0</decimal>
      </item>
   </map>
</primitive-value-key-override-map>>>>>> ELEMENT=[element primitive-value-key-override-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveValueKeyOverrideMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<PrimitiveValueKeyOverrideMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Item>
         <!-- java.lang.String -->
         <Text ID="2">one</Text>
         <!-- java.math.BigDecimal -->
         <decimal ID="3">1.0</decimal>
      </Item>
      <Item>
         <!-- java.lang.String -->
         <Text ID="4">two</Text>
         <!-- java.math.BigDecimal -->
         <decimal ID="5">2.0</decimal>
      </Item>
      <Item>
         <!-- java.lang.String -->
         <Text ID="6">four</Text>
         <!-- java.math.BigDecimal -->
         <decimal ID="7">4.0</decimal>
      </Item>
      <Item>
         <!-- java.lang.String -->
         <Text ID="8">three</Text>
         <!-- java.math.BigDecimal -->
         <decimal ID="9">3.0</decimal>
      </Item>
   </Map>
</PrimitiveValueKeyOverrideMap>>>>>> ELEMENT=[element PrimitiveValueKeyOverrideMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveValueKeyOverrideMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<complexValueKeyOverrideMap>
   <map class="java.util.HashMap">
      <item>
         <key>
            <name>name 3</name>
            <address>address 3</address>
         </key>
         <value>
            <name>c</name>
            <value>example 3</value>
         </value>
      </item>
      <item>
         <key>
            <name>name 1</name>
            <address>address 1</address>
         </key>
         <value>
            <name>a</name>
            <value>example 1</value>
         </value>
      </item>
      <item>
         <key>
            <name>name 2</name>
            <address>address 2</address>
         </key>
         <value>
            <name>b</name>
            <value>example 2</value>
         </value>
      </item>
      <item>
         <key>
            <name>name 4</name>
            <address>address 4</address>
         </key>
         <value>
            <name>d</name>
            <value>example 4</value>
         </value>
      </item>
   </map>
</complexValueKeyOverrideMap><complexValueKeyOverrideMap>
   <map class="java.util.HashMap">
      <item>
         <key>
            <name>name 3</name>
            <address>address 3</address>
         </key>
         <value>
            <name>c</name>
            <value>example 3</value>
         </value>
      </item>
      <item>
         <key>
            <name>name 1</name>
            <address>address 1</address>
         </key>
         <value>
            <name>a</name>
            <value>example 1</value>
         </value>
      </item>
      <item>
         <key>
            <name>name 2</name>
            <address>address 2</address>
         </key>
         <value>
            <name>b</name>
            <value>example 2</value>
         </value>
      </item>
      <item>
         <key>
            <name>name 4</name>
            <address>address 4</address>
         </key>
         <value>
            <name>d</name>
            <value>example 4</value>
         </value>
      </item>
   </map>
</complexValueKeyOverrideMap>
<complex-value-key-override-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <key ID="2">
            <!-- java.lang.String -->
            <name ID="3">name 3</name>
            <!-- java.lang.String -->
            <address ID="4">address 3</address>
         </key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <value ID="5">
            <!-- java.lang.String -->
            <name ID="6">c</name>
            <!-- java.lang.String -->
            <value ID="7">example 3</value>
         </value>
      </item>
      <item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <key ID="8">
            <!-- java.lang.String -->
            <name ID="9">name 1</name>
            <!-- java.lang.String -->
            <address ID="10">address 1</address>
         </key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <value ID="11">
            <!-- java.lang.String -->
            <name ID="12">a</name>
            <!-- java.lang.String -->
            <value ID="13">example 1</value>
         </value>
      </item>
      <item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <key ID="14">
            <!-- java.lang.String -->
            <name ID="15">name 2</name>
            <!-- java.lang.String -->
            <address ID="16">address 2</address>
         </key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <value ID="17">
            <!-- java.lang.String -->
            <name ID="18">b</name>
            <!-- java.lang.String -->
            <value ID="19">example 2</value>
         </value>
      </item>
      <item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <key ID="20">
            <!-- java.lang.String -->
            <name ID="21">name 4</name>
            <!-- java.lang.String -->
            <address ID="22">address 4</address>
         </key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <value ID="23">
            <!-- java.lang.String -->
            <name ID="24">d</name>
            <!-- java.lang.String -->
            <value ID="25">example 4</value>
         </value>
      </item>
   </map>
</complex-value-key-override-map>>>>>> ELEMENT=[element complex-value-key-override-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$ComplexValueKeyOverrideMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<ComplexValueKeyOverrideMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <Key ID="2">
            <!-- java.lang.String -->
            <Name ID="3">name 3</Name>
            <!-- java.lang.String -->
            <Address ID="4">address 3</Address>
         </Key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <Value ID="5">
            <!-- java.lang.String -->
            <Name ID="6">c</Name>
            <!-- java.lang.String -->
            <Value ID="7">example 3</Value>
         </Value>
      </Item>
      <Item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <Key ID="8">
            <!-- java.lang.String -->
            <Name ID="9">name 1</Name>
            <!-- java.lang.String -->
            <Address ID="10">address 1</Address>
         </Key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <Value ID="11">
            <!-- java.lang.String -->
            <Name ID="12">a</Name>
            <!-- java.lang.String -->
            <Value ID="13">example 1</Value>
         </Value>
      </Item>
      <Item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <Key ID="14">
            <!-- java.lang.String -->
            <Name ID="15">name 2</Name>
            <!-- java.lang.String -->
            <Address ID="16">address 2</Address>
         </Key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <Value ID="17">
            <!-- java.lang.String -->
            <Name ID="18">b</Name>
            <!-- java.lang.String -->
            <Value ID="19">example 2</Value>
         </Value>
      </Item>
      <Item>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <Key ID="20">
            <!-- java.lang.String -->
            <Name ID="21">name 4</Name>
            <!-- java.lang.String -->
            <Address ID="22">address 4</Address>
         </Key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <Value ID="23">
            <!-- java.lang.String -->
            <Name ID="24">d</Name>
            <!-- java.lang.String -->
            <Value ID="25">example 4</Value>
         </Value>
      </Item>
   </Map>
</ComplexValueKeyOverrideMap>>>>>> ELEMENT=[element ComplexValueKeyOverrideMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$ComplexValueKeyOverrideMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<primitiveInlineMap>
   <entity>
      <string>one</string>
      <bigDecimal>1.0</bigDecimal>
   </entity>
   <entity>
      <string>two</string>
      <bigDecimal>2.0</bigDecimal>
   </entity>
   <entity>
      <string>four</string>
      <bigDecimal>4.0</bigDecimal>
   </entity>
   <entity>
      <string>three</string>
      <bigDecimal>3.0</bigDecimal>
   </entity>
</primitiveInlineMap><primitiveInlineMap>
   <entity>
      <string>one</string>
      <bigDecimal>1.0</bigDecimal>
   </entity>
   <entity>
      <string>two</string>
      <bigDecimal>2.0</bigDecimal>
   </entity>
   <entity>
      <string>four</string>
      <bigDecimal>4.0</bigDecimal>
   </entity>
   <entity>
      <string>three</string>
      <bigDecimal>3.0</bigDecimal>
   </entity>
</primitiveInlineMap>
<primitive-inline-map ID="0">
   <entity>
      <!-- java.lang.String -->
      <string ID="1">one</string>
      <!-- java.math.BigDecimal -->
      <big-decimal ID="2">1.0</big-decimal>
   </entity>
   <entity>
      <!-- java.lang.String -->
      <string ID="3">two</string>
      <!-- java.math.BigDecimal -->
      <big-decimal ID="4">2.0</big-decimal>
   </entity>
   <entity>
      <!-- java.lang.String -->
      <string ID="5">four</string>
      <!-- java.math.BigDecimal -->
      <big-decimal ID="6">4.0</big-decimal>
   </entity>
   <entity>
      <!-- java.lang.String -->
      <string ID="7">three</string>
      <!-- java.math.BigDecimal -->
      <big-decimal ID="8">3.0</big-decimal>
   </entity>
</primitive-inline-map>>>>>> ELEMENT=[element primitive-inline-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveInlineMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<PrimitiveInlineMap ID="0">
   <Entity>
      <!-- java.lang.String -->
      <String ID="1">one</String>
      <!-- java.math.BigDecimal -->
      <bigDecimal ID="2">1.0</bigDecimal>
   </Entity>
   <Entity>
      <!-- java.lang.String -->
      <String ID="3">two</String>
      <!-- java.math.BigDecimal -->
      <bigDecimal ID="4">2.0</bigDecimal>
   </Entity>
   <Entity>
      <!-- java.lang.String -->
      <String ID="5">four</String>
      <!-- java.math.BigDecimal -->
      <bigDecimal ID="6">4.0</bigDecimal>
   </Entity>
   <Entity>
      <!-- java.lang.String -->
      <String ID="7">three</String>
      <!-- java.math.BigDecimal -->
      <bigDecimal ID="8">3.0</bigDecimal>
   </Entity>
</PrimitiveInlineMap>>>>>> ELEMENT=[element PrimitiveInlineMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveInlineMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<primitiveMap>
   <table class="java.util.HashMap">
      <entry>
         <string>a</string>
         <bigDecimal>1</bigDecimal>
      </entry>
      <entry>
         <string>c</string>
         <bigDecimal/>
      </entry>
      <entry>
         <string>b</string>
         <bigDecimal>2</bigDecimal>
      </entry>
      <entry>
         <string/>
         <bigDecimal>4</bigDecimal>
      </entry>
   </table>
</primitiveMap><primitiveMap>
   <table class="java.util.HashMap">
      <entry>
         <string>a</string>
         <bigDecimal>1</bigDecimal>
      </entry>
      <entry>
         <string>c</string>
         <bigDecimal/>
      </entry>
      <entry>
         <string>b</string>
         <bigDecimal>2</bigDecimal>
      </entry>
      <entry>
         <string/>
         <bigDecimal>4</bigDecimal>
      </entry>
   </table>
</primitiveMap>
<primitive-map ID="0">
   <!-- java.util.Map -->
   <table class="java.util.HashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">a</string>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="3">1</big-decimal>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="4">c</string>
         <big-decimal/>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="5">b</string>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="6">2</big-decimal>
      </entry>
      <entry>
         <string/>
         <!-- java.math.BigDecimal -->
         <big-decimal ID="7">4</big-decimal>
      </entry>
   </table>
</primitive-map>>>>>> ELEMENT=[element primitive-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<PrimitiveMap ID="0">
   <!-- java.util.Map -->
   <Table class="java.util.HashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">a</String>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="3">1</bigDecimal>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="4">c</String>
         <bigDecimal/>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="5">b</String>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="6">2</bigDecimal>
      </Entry>
      <Entry>
         <String/>
         <!-- java.math.BigDecimal -->
         <bigDecimal ID="7">4</bigDecimal>
      </Entry>
   </Table>
</PrimitiveMap>>>>>> ELEMENT=[element PrimitiveMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$PrimitiveMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<complexMap>
   <map class="java.util.HashMap">
      <entry>
         <compositeKey>
            <name>name.1</name>
            <address>address.1</address>
         </compositeKey>
         <mapEntry>
            <name>1</name>
            <value>1</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name.2</name>
            <address>address.2</address>
         </compositeKey>
         <mapEntry>
            <name>2</name>
            <value>2</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name.4</name>
            <address>address.4</address>
         </compositeKey>
         <mapEntry/>
      </entry>
      <entry>
         <compositeKey/>
         <mapEntry>
            <name>3</name>
            <value>3</value>
         </mapEntry>
      </entry>
   </map>
</complexMap><complexMap>
   <map class="java.util.HashMap">
      <entry>
         <compositeKey>
            <name>name.1</name>
            <address>address.1</address>
         </compositeKey>
         <mapEntry>
            <name>1</name>
            <value>1</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name.2</name>
            <address>address.2</address>
         </compositeKey>
         <mapEntry>
            <name>2</name>
            <value>2</value>
         </mapEntry>
      </entry>
      <entry>
         <compositeKey>
            <name>name.4</name>
            <address>address.4</address>
         </compositeKey>
         <mapEntry/>
      </entry>
      <entry>
         <compositeKey/>
         <mapEntry>
            <name>3</name>
            <value>3</value>
         </mapEntry>
      </entry>
   </map>
</complexMap>
<complex-map ID="0">
   <!-- java.util.Map -->
   <map class="java.util.HashMap" ID="1">
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="2">
            <!-- java.lang.String -->
            <name ID="3">name.1</name>
            <!-- java.lang.String -->
            <address ID="4">address.1</address>
         </composite-key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="5">
            <!-- java.lang.String -->
            <name ID="6">1</name>
            <!-- java.lang.String -->
            <value REFERER="6"/>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="7">
            <!-- java.lang.String -->
            <name ID="8">name.2</name>
            <!-- java.lang.String -->
            <address ID="9">address.2</address>
         </composite-key>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="10">
            <!-- java.lang.String -->
            <name ID="11">2</name>
            <!-- java.lang.String -->
            <value REFERER="11"/>
         </map-entry>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <composite-key ID="12">
            <!-- java.lang.String -->
            <name ID="13">name.4</name>
            <!-- java.lang.String -->
            <address ID="14">address.4</address>
         </composite-key>
         <map-entry/>
      </entry>
      <entry>
         <composite-key/>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <map-entry ID="15">
            <!-- java.lang.String -->
            <name ID="16">3</name>
            <!-- java.lang.String -->
            <value REFERER="16"/>
         </map-entry>
      </entry>
   </map>
</complex-map>>>>>> ELEMENT=[element complex-map]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$ComplexMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<ComplexMap ID="0">
   <!-- java.util.Map -->
   <Map class="java.util.HashMap" ID="1">
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="2">
            <!-- java.lang.String -->
            <Name ID="3">name.1</Name>
            <!-- java.lang.String -->
            <Address ID="4">address.1</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="5">
            <!-- java.lang.String -->
            <Name ID="6">1</Name>
            <!-- java.lang.String -->
            <Value REFERER="6"/>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="7">
            <!-- java.lang.String -->
            <Name ID="8">name.2</Name>
            <!-- java.lang.String -->
            <Address ID="9">address.2</Address>
         </CompositeKey>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="10">
            <!-- java.lang.String -->
            <Name ID="11">2</Name>
            <!-- java.lang.String -->
            <Value REFERER="11"/>
         </MapEntry>
      </Entry>
      <Entry>
         <!-- org.simpleframework.xml.core.MapTest$CompositeKey -->
         <CompositeKey ID="12">
            <!-- java.lang.String -->
            <Name ID="13">name.4</Name>
            <!-- java.lang.String -->
            <Address ID="14">address.4</Address>
         </CompositeKey>
         <MapEntry/>
      </Entry>
      <Entry>
         <CompositeKey/>
         <!-- org.simpleframework.xml.core.MapTest$MapEntry -->
         <MapEntry ID="15">
            <!-- java.lang.String -->
            <Name ID="16">3</Name>
            <!-- java.lang.String -->
            <Value REFERER="16"/>
         </MapEntry>
      </Entry>
   </Map>
</ComplexMap>>>>>> ELEMENT=[element ComplexMap]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$ComplexMap]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<index id="users">
   <database>xyz</database>
   <query>
      <columns length="2">foo, bar</columns>
      <tables length="3">a, b, c</tables>
   </query>
   <fields>
      <field id="foo">
         <lucene>
            <index>TOKENIZED</index>
            <store>false</store>
            <default>true</default>
         </lucene>
      </field>
      <field id="bar">
         <lucene>
            <index>TOKENIZED</index>
            <store>false</store>
            <default>true</default>
         </lucene>
      </field>
   </fields>
</index><index id="users">
   <database>xyz</database>
   <query>
      <columns length="2">foo, bar</columns>
      <tables length="3">a, b, c</tables>
   </query>
   <fields>
      <field id="foo">
         <lucene>
            <index>TOKENIZED</index>
            <store>false</store>
            <default>true</default>
         </lucene>
      </field>
      <field id="bar">
         <lucene>
            <index>TOKENIZED</index>
            <store>false</store>
            <default>true</default>
         </lucene>
      </field>
   </fields>
</index>
<index ID="0" id="users">
   <!-- java.lang.String -->
   <database ID="1">xyz</database>
   <!-- org.simpleframework.xml.core.MapTest$Query -->
   <query ID="2">
      <!-- [Ljava.lang.String; -->
      <columns length="2" ID="3">foo, bar</columns>
      <!-- [Ljava.lang.String; -->
      <tables length="3" ID="4">a, b, c</tables>
   </query>
   <!-- java.util.HashMap -->
   <fields ID="5">
      <field id="foo">
         <!-- org.simpleframework.xml.core.MapTest$Lucene -->
         <lucene ID="6">
            <!-- java.lang.String -->
            <index ID="7">TOKENIZED</index>
            <store>false</store>
            <default>true</default>
         </lucene>
      </field>
      <field id="bar">
         <!-- org.simpleframework.xml.core.MapTest$Lucene -->
         <lucene ID="8">
            <!-- java.lang.String -->
            <index ID="9">TOKENIZED</index>
            <store>false</store>
            <default>true</default>
         </lucene>
      </field>
   </fields>
</index>>>>>> ELEMENT=[element index]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$IndexConfig]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
<Index ID="0" id="users">
   <!-- java.lang.String -->
   <Database ID="1">xyz</Database>
   <!-- org.simpleframework.xml.core.MapTest$Query -->
   <Query ID="2">
      <!-- [Ljava.lang.String; -->
      <Columns length="2" ID="3">foo, bar</Columns>
      <!-- [Ljava.lang.String; -->
      <Tables length="3" ID="4">a, b, c</Tables>
   </Query>
   <!-- java.util.HashMap -->
   <Fields ID="5">
      <Field id="foo">
         <!-- org.simpleframework.xml.core.MapTest$Lucene -->
         <Lucene ID="6">
            <!-- java.lang.String -->
            <Index ID="7">TOKENIZED</Index>
            <Store>false</Store>
            <Default>true</Default>
         </Lucene>
      </Field>
      <Field id="bar">
         <!-- org.simpleframework.xml.core.MapTest$Lucene -->
         <Lucene ID="8">
            <!-- java.lang.String -->
            <Index ID="9">TOKENIZED</Index>
            <Store>false</Store>
            <Default>true</Default>
         </Lucene>
      </Field>
   </Fields>
</Index>>>>>> ELEMENT=[element Index]
>>>>> TYPE=[class org.simpleframework.xml.core.MapTest$IndexConfig]
>>>>> SOURCE=[class com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl]
------------- ---------------- ---------------

Testcase: testEntryMap took 0.232 sec
Testcase: testStringMap took 0.039 sec
Testcase: testComplexMap took 0.074 sec
Testcase: testPrimitiveMap took 0.049 sec
Testcase: testPrimitiveValueOverrideMap took 0.055 sec
Testcase: testPrimitiveValueKeyOverrideMap took 0.034 sec
Testcase: testComplexValueKeyOverrideMap took 0.053 sec
Testcase: testPrimitiveInlineMap took 0.029 sec
Testcase: testNullValue took 0.089 sec
Testcase: testIndexExample took 0.045 sec
Testcase: testDirectory took 0 sec
