Testsuite: org.simpleframework.xml.strategy.TreeStrategyTest
Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 9.633 sec
------------- Standard Output ---------------
<root number="1234" flag="true">
   <constant>{no.override}</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>
        Some example text where {example.name} is replaced
        with the system property value and the path is
        replaced with the path {example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>{no.override}</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>
        Some example text where {example.name} is replaced
        with the system property value and the path is
        replaced with the path {example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>{no.override}</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>
        Some example text where {example.name} is replaced
        with the system property value and the path is
        replaced with the path {example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root>
<root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <constant ID="1">{no.override}</constant>
   <!-- java.lang.String -->
   <name ID="2">{example.name}</name>
   <!-- java.lang.String -->
   <path ID="3">{example.path}</path>
   <!-- java.lang.String -->
   <text ID="4">
        Some example text where {example.name} is replaced
        with the system property value and the path is
        replaced with the path {example.path}
   </text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <child ID="5" name="first">
      <!-- java.lang.String -->
      <one ID="6">this is the first element</one>
      <!-- java.lang.String -->
      <two ID="7">the second element</two>
      <!-- java.lang.String -->
      <three ID="8">the third elment</three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <grand-child ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-one ID="10" key="name.1">
            <!-- java.lang.String -->
            <value ID="11">value.1</value>
         </entry-one>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-two ID="12" key="name.2">
            <!-- java.lang.String -->
            <value ID="13">value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <!-- java.util.Collection -->
   <list class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <value ID="16">value.1</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <value ID="18">value.2</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <value ID="20">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <value ID="22">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <value ID="24">value.5</value>
      </entry>
   </list>
</root>>>>>> ELEMENT=[element root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <Constant ID="1">{no.override}</Constant>
   <!-- java.lang.String -->
   <Name ID="2">{example.name}</Name>
   <!-- java.lang.String -->
   <Path ID="3">{example.path}</Path>
   <!-- java.lang.String -->
   <Text ID="4">
        Some example text where {example.name} is replaced
        with the system property value and the path is
        replaced with the path {example.path}
   </Text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <Child ID="5" name="first">
      <!-- java.lang.String -->
      <One ID="6">this is the first element</One>
      <!-- java.lang.String -->
      <Two ID="7">the second element</Two>
      <!-- java.lang.String -->
      <Three ID="8">the third elment</Three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <GrandChild ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryOne ID="10" key="name.1">
            <!-- java.lang.String -->
            <Value ID="11">value.1</Value>
         </EntryOne>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryTwo ID="12" key="name.2">
            <!-- java.lang.String -->
            <Value ID="13">value.2</Value>
         </EntryTwo>
      </GrandChild>
   </Child>
   <!-- java.util.Collection -->
   <List class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <Value ID="16">value.1</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <Value ID="18">value.2</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <Value ID="20">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <Value ID="22">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <Value ID="24">value.5</Value>
      </Entry>
   </List>
</Root>>>>>> ELEMENT=[element Root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<root number="1234" flag="true">
   <constant>{no.override}</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>
        Some example text where {example.name} is replaced
        with the system property value and the path is
        replaced with the path {example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>some constant</constant>
   <name>some name</name>
   <path>/some/path</path>
   <text>
        Some example text where some name is replaced
        with the system property value and the path is 
        replaced with the path /some/path
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>some constant</constant>
   <name>some name</name>
   <path>/some/path</path>
   <text>
        Some example text where some name is replaced
        with the system property value and the path is 
        replaced with the path /some/path
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>some constant</constant>
   <name>some name</name>
   <path>/some/path</path>
   <text>
        Some example text where some name is replaced
        with the system property value and the path is 
        replaced with the path /some/path
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root>
<root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <constant ID="1">some constant</constant>
   <!-- java.lang.String -->
   <name ID="2">some name</name>
   <!-- java.lang.String -->
   <path ID="3">/some/path</path>
   <!-- java.lang.String -->
   <text ID="4">
        Some example text where some name is replaced
        with the system property value and the path is 
        replaced with the path /some/path
   </text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <child ID="5" name="first">
      <!-- java.lang.String -->
      <one ID="6">this is the first element</one>
      <!-- java.lang.String -->
      <two ID="7">the second element</two>
      <!-- java.lang.String -->
      <three ID="8">the third elment</three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <grand-child ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-one ID="10" key="name.1">
            <!-- java.lang.String -->
            <value ID="11">value.1</value>
         </entry-one>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-two ID="12" key="name.2">
            <!-- java.lang.String -->
            <value ID="13">value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <!-- java.util.Collection -->
   <list class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <value ID="16">value.1</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <value ID="18">value.2</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <value ID="20">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <value ID="22">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <value ID="24">value.5</value>
      </entry>
   </list>
</root>>>>>> ELEMENT=[element root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <Constant ID="1">some constant</Constant>
   <!-- java.lang.String -->
   <Name ID="2">some name</Name>
   <!-- java.lang.String -->
   <Path ID="3">/some/path</Path>
   <!-- java.lang.String -->
   <Text ID="4">
        Some example text where some name is replaced
        with the system property value and the path is 
        replaced with the path /some/path
   </Text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <Child ID="5" name="first">
      <!-- java.lang.String -->
      <One ID="6">this is the first element</One>
      <!-- java.lang.String -->
      <Two ID="7">the second element</Two>
      <!-- java.lang.String -->
      <Three ID="8">the third elment</Three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <GrandChild ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryOne ID="10" key="name.1">
            <!-- java.lang.String -->
            <Value ID="11">value.1</Value>
         </EntryOne>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryTwo ID="12" key="name.2">
            <!-- java.lang.String -->
            <Value ID="13">value.2</Value>
         </EntryTwo>
      </GrandChild>
   </Child>
   <!-- java.util.Collection -->
   <List class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <Value ID="16">value.1</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <Value ID="18">value.2</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <Value ID="20">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <Value ID="22">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <Value ID="24">value.5</Value>
      </Entry>
   </List>
</Root>>>>>> ELEMENT=[element Root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<root number="1234" flag="true">
   <constant>some constant</constant>
   <name>some name</name>
   <path>/some/path</path>
   <text>
        Some example text where some name is replaced
        with the system property value and the path is 
        replaced with the path /some/path
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>${no.override}</constant>
   <name>${example.name}</name>
   <path>${example.path}</path>
   <text>
        Some example text where ${example.name} is replaced
        with the system property value and the path is 
        replaced with the path ${example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>${no.override}</constant>
   <name>${example.name}</name>
   <path>${example.path}</path>
   <text>
        Some example text where ${example.name} is replaced
        with the system property value and the path is 
        replaced with the path ${example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>${no.override}</constant>
   <name>${example.name}</name>
   <path>${example.path}</path>
   <text>
        Some example text where ${example.name} is replaced
        with the system property value and the path is 
        replaced with the path ${example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root>
<root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <constant ID="1">${no.override}</constant>
   <!-- java.lang.String -->
   <name ID="2">${example.name}</name>
   <!-- java.lang.String -->
   <path ID="3">${example.path}</path>
   <!-- java.lang.String -->
   <text ID="4">
        Some example text where ${example.name} is replaced
        with the system property value and the path is 
        replaced with the path ${example.path}
   </text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <child ID="5" name="first">
      <!-- java.lang.String -->
      <one ID="6">this is the first element</one>
      <!-- java.lang.String -->
      <two ID="7">the second element</two>
      <!-- java.lang.String -->
      <three ID="8">the third elment</three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <grand-child ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-one ID="10" key="name.1">
            <!-- java.lang.String -->
            <value ID="11">value.1</value>
         </entry-one>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-two ID="12" key="name.2">
            <!-- java.lang.String -->
            <value ID="13">value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <!-- java.util.Collection -->
   <list class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <value ID="16">value.1</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <value ID="18">value.2</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <value ID="20">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <value ID="22">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <value ID="24">value.5</value>
      </entry>
   </list>
</root>>>>>> ELEMENT=[element root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <Constant ID="1">${no.override}</Constant>
   <!-- java.lang.String -->
   <Name ID="2">${example.name}</Name>
   <!-- java.lang.String -->
   <Path ID="3">${example.path}</Path>
   <!-- java.lang.String -->
   <Text ID="4">
        Some example text where ${example.name} is replaced
        with the system property value and the path is 
        replaced with the path ${example.path}
   </Text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <Child ID="5" name="first">
      <!-- java.lang.String -->
      <One ID="6">this is the first element</One>
      <!-- java.lang.String -->
      <Two ID="7">the second element</Two>
      <!-- java.lang.String -->
      <Three ID="8">the third elment</Three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <GrandChild ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryOne ID="10" key="name.1">
            <!-- java.lang.String -->
            <Value ID="11">value.1</Value>
         </EntryOne>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryTwo ID="12" key="name.2">
            <!-- java.lang.String -->
            <Value ID="13">value.2</Value>
         </EntryTwo>
      </GrandChild>
   </Child>
   <!-- java.util.Collection -->
   <List class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <Value ID="16">value.1</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <Value ID="18">value.2</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <Value ID="20">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <Value ID="22">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <Value ID="24">value.5</Value>
      </Entry>
   </List>
</Root>>>>>> ELEMENT=[element Root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<root number="1234" flag="true">
   <constant>${no.override}</constant>
   <name>${example.name}</name>
   <path>${example.path}</path>
   <text>
        Some example text where ${example.name} is replaced
        with the system property value and the path is 
        replaced with the path ${example.path}
   </text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>&gt;&gt;&lt;&lt;</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>this is text&gt;&gt; some more&lt;&lt;</text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>&gt;&gt;&lt;&lt;</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>this is text&gt;&gt; some more&lt;&lt;</text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root><root number="1234" flag="true">
   <constant>&gt;&gt;&lt;&lt;</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>this is text&gt;&gt; some more&lt;&lt;</text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root>
<root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <constant ID="1">&gt;&gt;&lt;&lt;</constant>
   <!-- java.lang.String -->
   <name ID="2">{example.name}</name>
   <!-- java.lang.String -->
   <path ID="3">{example.path}</path>
   <!-- java.lang.String -->
   <text ID="4">this is text&gt;&gt; some more&lt;&lt;</text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <child ID="5" name="first">
      <!-- java.lang.String -->
      <one ID="6">this is the first element</one>
      <!-- java.lang.String -->
      <two ID="7">the second element</two>
      <!-- java.lang.String -->
      <three ID="8">the third elment</three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <grand-child ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-one ID="10" key="name.1">
            <!-- java.lang.String -->
            <value ID="11">value.1</value>
         </entry-one>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <entry-two ID="12" key="name.2">
            <!-- java.lang.String -->
            <value ID="13">value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <!-- java.util.Collection -->
   <list class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <value ID="16">value.1</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <value ID="18">value.2</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <value ID="20">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <value ID="22">value.4</value>
      </entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <value ID="24">value.5</value>
      </entry>
   </list>
</root>>>>>> ELEMENT=[element root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Root ID="0" number="1234" flag="true">
   <!-- java.lang.String -->
   <Constant ID="1">&gt;&gt;&lt;&lt;</Constant>
   <!-- java.lang.String -->
   <Name ID="2">{example.name}</Name>
   <!-- java.lang.String -->
   <Path ID="3">{example.path}</Path>
   <!-- java.lang.String -->
   <Text ID="4">this is text&gt;&gt; some more&lt;&lt;</Text>
   <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ChildEntry -->
   <Child ID="5" name="first">
      <!-- java.lang.String -->
      <One ID="6">this is the first element</One>
      <!-- java.lang.String -->
      <Two ID="7">the second element</Two>
      <!-- java.lang.String -->
      <Three ID="8">the third elment</Three>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$GrandChildEntry -->
      <GrandChild ID="9">
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryOne ID="10" key="name.1">
            <!-- java.lang.String -->
            <Value ID="11">value.1</Value>
         </EntryOne>
         <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
         <EntryTwo ID="12" key="name.2">
            <!-- java.lang.String -->
            <Value ID="13">value.2</Value>
         </EntryTwo>
      </GrandChild>
   </Child>
   <!-- java.util.Collection -->
   <List class="java.util.ArrayList" ID="14">
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="15" key="name.1">
         <!-- java.lang.String -->
         <Value ID="16">value.1</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="17" key="name.2">
         <!-- java.lang.String -->
         <Value ID="18">value.2</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="19" key="name.3">
         <!-- java.lang.String -->
         <Value ID="20">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="21" key="name.4">
         <!-- java.lang.String -->
         <Value ID="22">value.4</Value>
      </Entry>
      <!-- org.simpleframework.xml.strategy.TreeStrategyTest$ElementEntry -->
      <Entry ID="23" key="name.5">
         <!-- java.lang.String -->
         <Value ID="24">value.5</Value>
      </Entry>
   </List>
</Root>>>>>> ELEMENT=[element Root]
>>>>> TYPE=[class org.simpleframework.xml.strategy.TreeStrategyTest$RootEntry]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<root number="1234" flag="true">
   <constant>&gt;&gt;&lt;&lt;</constant>
   <name>{example.name}</name>
   <path>{example.path}</path>
   <text>this is text&gt;&gt; some more&lt;&lt;</text>
   <child name="first">
      <one>this is the first element</one>
      <two>the second element</two>
      <three>the third elment</three>
      <grand-child>
         <entry-one key="name.1">
            <value>value.1</value>
         </entry-one>
         <entry-two key="name.2">
            <value>value.2</value>
         </entry-two>
      </grand-child>
   </child>
   <list TYPE="java.util.ArrayList">
      <entry key="name.1">
         <value>value.1</value>
      </entry>
      <entry key="name.2">
         <value>value.2</value>
      </entry>
      <entry key="name.3">
         <value>value.4</value>
      </entry>
      <entry key="name.4">
         <value>value.4</value>
      </entry>
      <entry key="name.5">
         <value>value.5</value>
      </entry>
   </list>
</root>------------- ---------------- ---------------
------------- Standard Error -----------------
Took '1963' ms to process 10000 documents
Took '5550' ms to process 10000 documents with templates
Took '830' ms to process 10000 documents with an empty filter
Took '1061' ms to write 10000 documents
------------- ---------------- ---------------

Testcase: testBasicDocument took 2.11 sec
Testcase: testTemplateDocument took 5.584 sec
Testcase: testEmptyFilter took 0.856 sec
Testcase: testBasicWrite took 1.079 sec
Testcase: testDirectory took 0.001 sec
