Testsuite: org.simpleframework.xml.core.ErasureHandlingTest
Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.28 sec
------------- Standard Output ---------------
<erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>A</name>
            <value>1</value>
         </class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>B</name>
            <value>2</value>
         </class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>C</name>
            <value>3</value>
         </class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>1</name>
            <value>1</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>A</name>
            <value>1</value>
         </class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>2</name>
            <value>2</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>B</name>
            <value>2</value>
         </class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>3</name>
            <value>3</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>C</name>
            <value>3</value>
         </class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample>
<erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>A</name>
            <value>1</value>
         </class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>B</name>
            <value>2</value>
         </class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>C</name>
            <value>3</value>
         </class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>1</name>
            <value>1</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>A</name>
            <value>1</value>
         </class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>2</name>
            <value>2</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>B</name>
            <value>2</value>
         </class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>3</name>
            <value>3</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>C</name>
            <value>3</value>
         </class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample><erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>A</name>
            <value>1</value>
         </class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>B</name>
            <value>2</value>
         </class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>C</name>
            <value>3</value>
         </class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>1</name>
            <value>1</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>A</name>
            <value>1</value>
         </class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>2</name>
            <value>2</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>B</name>
            <value>2</value>
         </class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>3</name>
            <value>3</value>
         </class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureItem">
            <name>C</name>
            <value>3</value>
         </class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample>
<erasure-example ID="0">
   <!-- java.util.Map -->
   <list class="java.util.LinkedHashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">a</string>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="3">
            <!-- java.lang.String -->
            <name ID="4">A</name>
            <!-- java.lang.String -->
            <value ID="5">1</value>
         </object>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="6">b</string>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="7">
            <!-- java.lang.String -->
            <name ID="8">B</name>
            <!-- java.lang.String -->
            <value ID="9">2</value>
         </object>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="10">c</string>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="11">
            <!-- java.lang.String -->
            <name ID="12">C</name>
            <!-- java.lang.String -->
            <value ID="13">3</value>
         </object>
      </entry>
   </list>
   <!-- java.util.Map -->
   <double-generic class="java.util.LinkedHashMap" ID="14">
      <entry>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="15">
            <!-- java.lang.String -->
            <name REFERER="5"/>
            <!-- java.lang.String -->
            <value REFERER="5"/>
         </object>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="16">
            <!-- java.lang.String -->
            <name REFERER="4"/>
            <!-- java.lang.String -->
            <value REFERER="5"/>
         </object>
      </entry>
      <entry>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="17">
            <!-- java.lang.String -->
            <name REFERER="9"/>
            <!-- java.lang.String -->
            <value REFERER="9"/>
         </object>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="18">
            <!-- java.lang.String -->
            <name REFERER="8"/>
            <!-- java.lang.String -->
            <value REFERER="9"/>
         </object>
      </entry>
      <entry>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="19">
            <!-- java.lang.String -->
            <name REFERER="13"/>
            <!-- java.lang.String -->
            <value REFERER="13"/>
         </object>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="20">
            <!-- java.lang.String -->
            <name REFERER="12"/>
            <!-- java.lang.String -->
            <value REFERER="13"/>
         </object>
      </entry>
   </double-generic>
</erasure-example>>>>>> ELEMENT=[element erasure-example]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ErasureExample ID="0">
   <!-- java.util.Map -->
   <List class="java.util.LinkedHashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">a</String>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="3">
            <!-- java.lang.String -->
            <Name ID="4">A</Name>
            <!-- java.lang.String -->
            <Value ID="5">1</Value>
         </Object>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="6">b</String>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="7">
            <!-- java.lang.String -->
            <Name ID="8">B</Name>
            <!-- java.lang.String -->
            <Value ID="9">2</Value>
         </Object>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="10">c</String>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="11">
            <!-- java.lang.String -->
            <Name ID="12">C</Name>
            <!-- java.lang.String -->
            <Value ID="13">3</Value>
         </Object>
      </Entry>
   </List>
   <!-- java.util.Map -->
   <DoubleGeneric class="java.util.LinkedHashMap" ID="14">
      <Entry>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="15">
            <!-- java.lang.String -->
            <Name REFERER="5"/>
            <!-- java.lang.String -->
            <Value REFERER="5"/>
         </Object>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="16">
            <!-- java.lang.String -->
            <Name REFERER="4"/>
            <!-- java.lang.String -->
            <Value REFERER="5"/>
         </Object>
      </Entry>
      <Entry>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="17">
            <!-- java.lang.String -->
            <Name REFERER="9"/>
            <!-- java.lang.String -->
            <Value REFERER="9"/>
         </Object>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="18">
            <!-- java.lang.String -->
            <Name REFERER="8"/>
            <!-- java.lang.String -->
            <Value REFERER="9"/>
         </Object>
      </Entry>
      <Entry>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="19">
            <!-- java.lang.String -->
            <Name REFERER="13"/>
            <!-- java.lang.String -->
            <Value REFERER="13"/>
         </Object>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="20">
            <!-- java.lang.String -->
            <Name REFERER="12"/>
            <!-- java.lang.String -->
            <Value REFERER="13"/>
         </Object>
      </Entry>
   </DoubleGeneric>
</ErasureExample>>>>>> ELEMENT=[element ErasureExample]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">2.0</class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.2</class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">5.4</class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">7.8</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">8.7</class:object>
      </entry>
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.2</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">2.1</class:object>
      </entry>
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">3.1</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.3</class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample><erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">2.0</class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.2</class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">5.4</class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">7.8</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">8.7</class:object>
      </entry>
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.2</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">2.1</class:object>
      </entry>
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">3.1</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.3</class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample><erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">2.0</class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.2</class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">5.4</class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">7.8</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">8.7</class:object>
      </entry>
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.2</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">2.1</class:object>
      </entry>
      <entry>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">3.1</class:object>
         <!-- java.lang.Double -->
         <class:object xmlns:class="http://lang.java/Double">1.3</class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample>
<erasure-example ID="0">
   <!-- java.util.Map -->
   <list class="java.util.LinkedHashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">a</string>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="3">2.0</object>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="4">b</string>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="5">1.2</object>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="6">c</string>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="7">5.4</object>
      </entry>
   </list>
   <!-- java.util.Map -->
   <double-generic class="java.util.LinkedHashMap" ID="8">
      <entry>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="9">7.8</object>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="10">8.7</object>
      </entry>
      <entry>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="11">1.2</object>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="12">2.1</object>
      </entry>
      <entry>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="13">3.1</object>
         <!-- java.lang.Object -->
         <object class="java.lang.Double" ID="14">1.3</object>
      </entry>
   </double-generic>
</erasure-example>>>>>> ELEMENT=[element erasure-example]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ErasureExample ID="0">
   <!-- java.util.Map -->
   <List class="java.util.LinkedHashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">a</String>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="3">2.0</Object>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="4">b</String>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="5">1.2</Object>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="6">c</String>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="7">5.4</Object>
      </Entry>
   </List>
   <!-- java.util.Map -->
   <DoubleGeneric class="java.util.LinkedHashMap" ID="8">
      <Entry>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="9">7.8</Object>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="10">8.7</Object>
      </Entry>
      <Entry>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="11">1.2</Object>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="12">2.1</Object>
      </Entry>
      <Entry>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="13">3.1</Object>
         <!-- java.lang.Object -->
         <Object class="java.lang.Double" ID="14">1.3</Object>
      </Entry>
   </DoubleGeneric>
</ErasureExample>>>>>> ELEMENT=[element ErasureExample]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">A</class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">A</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">D</class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample><erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">A</class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">A</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">D</class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample><erasureExample>
   <!-- java.util.LinkedHashMap -->
   <class:list xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <string>a</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">A</class:object>
      </entry>
      <entry>
         <string>b</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
      </entry>
      <entry>
         <string>c</string>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
      </entry>
   </class:list>
   <!-- java.util.LinkedHashMap -->
   <class:doubleGeneric xmlns:class="http://util.java/LinkedHashMap">
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">A</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">B</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
      </entry>
      <entry>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">C</class:object>
         <!-- org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum -->
         <class:object xmlns:class="http://simpleframework.org/xml/core/ErasureHandlingTest$ErasureEnum">D</class:object>
      </entry>
   </class:doubleGeneric>
</erasureExample>
<erasure-example ID="0">
   <!-- java.util.Map -->
   <list class="java.util.LinkedHashMap" ID="1">
      <entry>
         <!-- java.lang.String -->
         <string ID="2">a</string>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="3">A</object>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="4">b</string>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="5">B</object>
      </entry>
      <entry>
         <!-- java.lang.String -->
         <string ID="6">c</string>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="7">C</object>
      </entry>
   </list>
   <!-- java.util.Map -->
   <double-generic class="java.util.LinkedHashMap" ID="8">
      <entry>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="3"/>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="5"/>
      </entry>
      <entry>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="5"/>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="7"/>
      </entry>
      <entry>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="7"/>
         <!-- java.lang.Object -->
         <object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="9">D</object>
      </entry>
   </double-generic>
</erasure-example>>>>>> ELEMENT=[element erasure-example]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ErasureExample ID="0">
   <!-- java.util.Map -->
   <List class="java.util.LinkedHashMap" ID="1">
      <Entry>
         <!-- java.lang.String -->
         <String ID="2">a</String>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="3">A</Object>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="4">b</String>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="5">B</Object>
      </Entry>
      <Entry>
         <!-- java.lang.String -->
         <String ID="6">c</String>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="7">C</Object>
      </Entry>
   </List>
   <!-- java.util.Map -->
   <DoubleGeneric class="java.util.LinkedHashMap" ID="8">
      <Entry>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="3"/>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="5"/>
      </Entry>
      <Entry>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="5"/>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="7"/>
      </Entry>
      <Entry>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" REFERER="7"/>
         <!-- java.lang.Object -->
         <Object class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureEnum" ID="9">D</Object>
      </Entry>
   </DoubleGeneric>
</ErasureExample>>>>>> ELEMENT=[element ErasureExample]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<erasureWithMapAttributeIllegalExample>
   <!-- java.util.HashMap --><erasureWithMapInlineValueIsIgnoredExample>
   <entry key="a">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>A</name>
         <value>1</value>
      </value>
   </entry>
   <entry key="b">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>B</name>
         <value>2</value>
      </value>
   </entry>
   <entry key="c">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>C</name>
         <value>3</value>
      </value>
   </entry>
</erasureWithMapInlineValueIsIgnoredExample>
<erasureWithMapInlineValueIsIgnoredExample>
   <entry key="a">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>A</name>
         <value>1</value>
      </value>
   </entry>
   <entry key="b">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>B</name>
         <value>2</value>
      </value>
   </entry>
   <entry key="c">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>C</name>
         <value>3</value>
      </value>
   </entry>
</erasureWithMapInlineValueIsIgnoredExample>
<erasureWithMapInlineValueIsIgnoredExample>
   <entry key="a">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>A</name>
         <value>1</value>
      </value>
   </entry>
   <entry key="b">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>B</name>
         <value>2</value>
      </value>
   </entry>
   <entry key="c">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>C</name>
         <value>3</value>
      </value>
   </entry>
</erasureWithMapInlineValueIsIgnoredExample><erasureWithMapInlineValueIsIgnoredExample>
   <entry key="a">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>A</name>
         <value>1</value>
      </value>
   </entry>
   <entry key="b">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>B</name>
         <value>2</value>
      </value>
   </entry>
   <entry key="c">
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem">
         <name>C</name>
         <value>3</value>
      </value>
   </entry>
</erasureWithMapInlineValueIsIgnoredExample>
<erasure-with-map-inline-value-is-ignored-example ID="0">
   <entry key="a">
      <!-- java.lang.Object -->
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="1">
         <!-- java.lang.String -->
         <name ID="2">A</name>
         <!-- java.lang.String -->
         <value ID="3">1</value>
      </value>
   </entry>
   <entry key="b">
      <!-- java.lang.Object -->
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="4">
         <!-- java.lang.String -->
         <name ID="5">B</name>
         <!-- java.lang.String -->
         <value ID="6">2</value>
      </value>
   </entry>
   <entry key="c">
      <!-- java.lang.Object -->
      <value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="7">
         <!-- java.lang.String -->
         <name ID="8">C</name>
         <!-- java.lang.String -->
         <value ID="9">3</value>
      </value>
   </entry>
</erasure-with-map-inline-value-is-ignored-example>>>>>> ELEMENT=[element erasure-with-map-inline-value-is-ignored-example]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureWithMapInlineValueIsIgnoredExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ErasureWithMapInlineValueIsIgnoredExample ID="0">
   <Entry key="a">
      <!-- java.lang.Object -->
      <Value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="1">
         <!-- java.lang.String -->
         <Name ID="2">A</Name>
         <!-- java.lang.String -->
         <Value ID="3">1</Value>
      </Value>
   </Entry>
   <Entry key="b">
      <!-- java.lang.Object -->
      <Value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="4">
         <!-- java.lang.String -->
         <Name ID="5">B</Name>
         <!-- java.lang.String -->
         <Value ID="6">2</Value>
      </Value>
   </Entry>
   <Entry key="c">
      <!-- java.lang.Object -->
      <Value class="org.simpleframework.xml.core.ErasureHandlingTest$ErasureItem" ID="7">
         <!-- java.lang.String -->
         <Name ID="8">C</Name>
         <!-- java.lang.String -->
         <Value ID="9">3</Value>
      </Value>
   </Entry>
</ErasureWithMapInlineValueIsIgnoredExample>>>>>> ELEMENT=[element ErasureWithMapInlineValueIsIgnoredExample]
>>>>> TYPE=[class org.simpleframework.xml.core.ErasureHandlingTest$ErasureWithMapInlineValueIsIgnoredExample]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------
------------- Standard Error -----------------
org.simpleframework.xml.core.ElementException: Can not have class java.lang.Object as an attribute for @org.simpleframework.xml.ElementMap(keyType=void, inline=false, entry=, name=, data=false, empty=true, value=, attribute=true, valueType=void, required=true, key=) on field 'erasedToString' private java.util.Map org.simpleframework.xml.core.ErasureHandlingTest$ErasureWithMapAttributeIllegalExample.erasedToString
	at org.simpleframework.xml.core.CompositeKey.write(CompositeKey.java:221)
	at org.simpleframework.xml.core.CompositeMap.write(CompositeMap.java:257)
	at org.simpleframework.xml.core.Composite.writeElement(Composite.java:1256)
	at org.simpleframework.xml.core.Composite.writeElement(Composite.java:1239)
	at org.simpleframework.xml.core.Composite.writeUnion(Composite.java:1127)
	at org.simpleframework.xml.core.Composite.writeElements(Composite.java:1098)
	at org.simpleframework.xml.core.Composite.writeSection(Composite.java:1004)
	at org.simpleframework.xml.core.Composite.write(Composite.java:975)
	at org.simpleframework.xml.core.Composite.write(Composite.java:952)
	at org.simpleframework.xml.core.Traverser.write(Traverser.java:236)
	at org.simpleframework.xml.core.Traverser.write(Traverser.java:208)
	at org.simpleframework.xml.core.Traverser.write(Traverser.java:186)
	at org.simpleframework.xml.core.Persister.write(Persister.java:1180)
	at org.simpleframework.xml.core.Persister.write(Persister.java:1162)
	at org.simpleframework.xml.core.Persister.write(Persister.java:1140)
	at org.simpleframework.xml.core.Persister.write(Persister.java:1259)
	at org.simpleframework.xml.core.Persister.write(Persister.java:1241)
	at org.simpleframework.xml.core.Persister.write(Persister.java:1222)
	at org.simpleframework.xml.core.ErasureHandlingTest.testErasureWithMapAttributeIllegalExample(ErasureHandlingTest.java:150)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
------------- ---------------- ---------------

Testcase: testErasure took 0.172 sec
Testcase: testPrimitiveErasure took 0.028 sec
Testcase: testEnumErasure took 0.028 sec
Testcase: testErasureWithMapAttributeIllegalExample took 0.004 sec
Testcase: testErasureWithMapInlineValueIsIgnoredExample took 0.044 sec
Testcase: testDirectory took 0.001 sec
