Testsuite: org.simpleframework.xml.core.FloatingTextTest
Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0.167 sec
------------- Standard Output ---------------
<example>An int follows 
   <int>12</int> A double follows 
   <double>33.3</double>
</example><example>An int follows 
   <int>12</int> A double follows 
   <double>33.3</double>
</example><example>An int follows 
   <int>12</int> A double follows 
   <double>33.3</double>
</example>
<example ID="0">An int follows 
   <!-- java.lang.Integer -->
   <int ID="1">12</int> A double follows 
   <!-- java.lang.Double -->
   <double ID="2">33.3</double>
</example>>>>>> ELEMENT=[element example]
>>>>> TYPE=[class org.simpleframework.xml.core.FloatingTextTest$Example]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example]
>>>>> TYPE=[interface java.util.List]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Example ID="0">An int follows 
   <!-- java.lang.Integer -->
   <Int ID="1">12</Int> A double follows 
   <!-- java.lang.Double -->
   <Double ID="2">33.3</Double>
</Example>>>>>> ELEMENT=[element Example]
>>>>> TYPE=[class org.simpleframework.xml.core.FloatingTextTest$Example]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Example]
>>>>> TYPE=[interface java.util.List]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Example]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Example]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element Example]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<exampleWithAttributeNotAnError a="A" b="b">An int follows 
   <int>12</int> A double follows 
   <double>33.3</double>
</exampleWithAttributeNotAnError><exampleWithAttributeNotAnError a="A" b="b">An int follows 
   <int>12</int> A double follows 
   <double>33.3</double>
</exampleWithAttributeNotAnError><exampleWithAttributeNotAnError a="A" b="b">An int follows 
   <int>12</int> A double follows 
   <double>33.3</double>
</exampleWithAttributeNotAnError>
<example-with-attribute-not-an-error ID="0" a="A" b="b">An int follows 
   <!-- java.lang.Integer -->
   <int ID="1">12</int> A double follows 
   <!-- java.lang.Double -->
   <double ID="2">33.3</double>
</example-with-attribute-not-an-error>>>>>> ELEMENT=[element example-with-attribute-not-an-error]
>>>>> TYPE=[class org.simpleframework.xml.core.FloatingTextTest$ExampleWithAttributeNotAnError]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example-with-attribute-not-an-error]
>>>>> TYPE=[interface java.util.List]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example-with-attribute-not-an-error]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example-with-attribute-not-an-error]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element example-with-attribute-not-an-error]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ExampleWithAttributeNotAnError ID="0" a="A" b="b">An int follows 
   <!-- java.lang.Integer -->
   <Int ID="1">12</Int> A double follows 
   <!-- java.lang.Double -->
   <Double ID="2">33.3</Double>
</ExampleWithAttributeNotAnError>>>>>> ELEMENT=[element ExampleWithAttributeNotAnError]
>>>>> TYPE=[class org.simpleframework.xml.core.FloatingTextTest$ExampleWithAttributeNotAnError]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element ExampleWithAttributeNotAnError]
>>>>> TYPE=[interface java.util.List]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element ExampleWithAttributeNotAnError]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element ExampleWithAttributeNotAnError]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
>>>>> ELEMENT=[element ExampleWithAttributeNotAnError]
>>>>> TYPE=[class java.lang.String]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<exampleWithPath>
   <child>An int follows 
      <int>12</int> A double follows 
      <double>33.3</double>
   </child>
</exampleWithPath><exampleWithPath>
   <child>An int follows 
      <int>12</int> A double follows 
      <double>33.3</double>
   </child>
</exampleWithPath><exampleWithPath>
   <child>An int follows 
      <int>12</int> A double follows 
      <double>33.3</double>
   </child>
</exampleWithPath>
<example-with-path ID="0">
   <child>An int follows 
      <!-- java.lang.Integer -->
      <int ID="1">12</int> A double follows 
      <!-- java.lang.Double -->
      <double ID="2">33.3</double>
   </child>
</example-with-path>>>>>> ELEMENT=[element example-with-path]
>>>>> TYPE=[class org.simpleframework.xml.core.FloatingTextTest$ExampleWithPath]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<ExampleWithPath ID="0">
   <Child>An int follows 
      <!-- java.lang.Integer -->
      <Int ID="1">12</Int> A double follows 
      <!-- java.lang.Double -->
      <Double ID="2">33.3</Double>
   </Child>
</ExampleWithPath>>>>>> ELEMENT=[element ExampleWithPath]
>>>>> TYPE=[class org.simpleframework.xml.core.FloatingTextTest$ExampleWithPath]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------
------------- Standard Error -----------------
org.simpleframework.xml.core.TextException: Elements used with @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(inline=true, entry=int, name=, data=false, empty=true, required=false, type=class java.lang.Integer), @org.simpleframework.xml.ElementList(inline=true, entry=double, name=, data=false, empty=true, required=false, type=class java.lang.Double)]) on field 'list' private java.util.List org.simpleframework.xml.core.FloatingTextTest$ExampleWithElementsIsAnError.list in class org.simpleframework.xml.core.FloatingTextTest$ExampleWithElementsIsAnError
	at org.simpleframework.xml.core.StructureBuilder.validateTextList(StructureBuilder.java:565)
	at org.simpleframework.xml.core.StructureBuilder.validate(StructureBuilder.java:502)
	at org.simpleframework.xml.core.ObjectScanner.validate(ObjectScanner.java:419)
	at org.simpleframework.xml.core.ObjectScanner.scan(ObjectScanner.java:373)
	at org.simpleframework.xml.core.ObjectScanner.<init>(ObjectScanner.java:82)
	at org.simpleframework.xml.core.ScannerFactory.getInstance(ScannerFactory.java:81)
	at org.simpleframework.xml.core.Support.getScanner(Support.java:357)
	at org.simpleframework.xml.core.Source.getScanner(Source.java:271)
	at org.simpleframework.xml.core.Source.getSchema(Source.java:317)
	at org.simpleframework.xml.core.Composite.read(Composite.java:198)
	at org.simpleframework.xml.core.Composite.read(Composite.java:148)
	at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
	at org.simpleframework.xml.core.Persister.read(Persister.java:625)
	at org.simpleframework.xml.core.Persister.read(Persister.java:606)
	at org.simpleframework.xml.core.Persister.read(Persister.java:584)
	at org.simpleframework.xml.core.Persister.read(Persister.java:562)
	at org.simpleframework.xml.core.Persister.read(Persister.java:499)
	at org.simpleframework.xml.core.Persister.read(Persister.java:408)
	at org.simpleframework.xml.core.FloatingTextTest.testFloatingTextElementError(FloatingTextTest.java:151)
	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)
org.simpleframework.xml.core.TextException: Text annotation @org.simpleframework.xml.Text(data=false, empty=, required=false) on field 'value' private java.lang.String org.simpleframework.xml.core.FloatingTextTest$ExampleWithTextIsAnError.value used with elements in class org.simpleframework.xml.core.FloatingTextTest$ExampleWithTextIsAnError
	at org.simpleframework.xml.core.TreeModel.validateText(TreeModel.java:376)
	at org.simpleframework.xml.core.TreeModel.validate(TreeModel.java:362)
	at org.simpleframework.xml.core.StructureBuilder.validateModel(StructureBuilder.java:515)
	at org.simpleframework.xml.core.StructureBuilder.validate(StructureBuilder.java:500)
	at org.simpleframework.xml.core.ObjectScanner.validate(ObjectScanner.java:419)
	at org.simpleframework.xml.core.ObjectScanner.scan(ObjectScanner.java:373)
	at org.simpleframework.xml.core.ObjectScanner.<init>(ObjectScanner.java:82)
	at org.simpleframework.xml.core.ScannerFactory.getInstance(ScannerFactory.java:81)
	at org.simpleframework.xml.core.Support.getScanner(Support.java:357)
	at org.simpleframework.xml.core.Source.getScanner(Source.java:271)
	at org.simpleframework.xml.core.Source.getSchema(Source.java:317)
	at org.simpleframework.xml.core.Composite.read(Composite.java:198)
	at org.simpleframework.xml.core.Composite.read(Composite.java:148)
	at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
	at org.simpleframework.xml.core.Persister.read(Persister.java:625)
	at org.simpleframework.xml.core.Persister.read(Persister.java:606)
	at org.simpleframework.xml.core.Persister.read(Persister.java:584)
	at org.simpleframework.xml.core.Persister.read(Persister.java:562)
	at org.simpleframework.xml.core.Persister.read(Persister.java:499)
	at org.simpleframework.xml.core.Persister.read(Persister.java:408)
	at org.simpleframework.xml.core.FloatingTextTest.testFloatingTextTextError(FloatingTextTest.java:164)
	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)
org.simpleframework.xml.core.TextException: Paths used with @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(inline=true, entry=int, name=, data=false, empty=true, required=false, type=class java.lang.Integer), @org.simpleframework.xml.ElementList(inline=true, entry=double, name=, data=false, empty=true, required=false, type=class java.lang.Double)]) on field 'list' private java.util.List org.simpleframework.xml.core.FloatingTextTest$ExampleWithPathAnError.list in class org.simpleframework.xml.core.FloatingTextTest$ExampleWithPathAnError
	at org.simpleframework.xml.core.StructureBuilder.validateTextList(StructureBuilder.java:575)
	at org.simpleframework.xml.core.StructureBuilder.validate(StructureBuilder.java:502)
	at org.simpleframework.xml.core.ObjectScanner.validate(ObjectScanner.java:419)
	at org.simpleframework.xml.core.ObjectScanner.scan(ObjectScanner.java:373)
	at org.simpleframework.xml.core.ObjectScanner.<init>(ObjectScanner.java:82)
	at org.simpleframework.xml.core.ScannerFactory.getInstance(ScannerFactory.java:81)
	at org.simpleframework.xml.core.Support.getScanner(Support.java:357)
	at org.simpleframework.xml.core.Source.getScanner(Source.java:271)
	at org.simpleframework.xml.core.Source.getSchema(Source.java:317)
	at org.simpleframework.xml.core.Composite.read(Composite.java:198)
	at org.simpleframework.xml.core.Composite.read(Composite.java:148)
	at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
	at org.simpleframework.xml.core.Persister.read(Persister.java:625)
	at org.simpleframework.xml.core.Persister.read(Persister.java:606)
	at org.simpleframework.xml.core.Persister.read(Persister.java:584)
	at org.simpleframework.xml.core.Persister.read(Persister.java:562)
	at org.simpleframework.xml.core.Persister.read(Persister.java:499)
	at org.simpleframework.xml.core.Persister.read(Persister.java:408)
	at org.simpleframework.xml.core.FloatingTextTest.testFloatingTextPathError(FloatingTextTest.java:195)
	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)
org.simpleframework.xml.core.TextException: Illegal entry of class java.lang.String with text annotations on @org.simpleframework.xml.ElementListUnion(value=[@org.simpleframework.xml.ElementList(inline=true, entry=int, name=, data=false, empty=true, required=false, type=class java.lang.Integer), @org.simpleframework.xml.ElementList(inline=true, entry=double, name=, data=false, empty=true, required=false, type=class java.lang.Double), @org.simpleframework.xml.ElementList(inline=true, entry=string, name=, data=false, empty=true, required=false, type=class java.lang.String)]) on field 'list' private java.util.List org.simpleframework.xml.core.FloatingTextTest$ExampleWithStringElementInAnError.list in class org.simpleframework.xml.core.FloatingTextTest$ExampleWithStringElementInAnError
	at org.simpleframework.xml.core.StructureBuilder.validateTextList(StructureBuilder.java:571)
	at org.simpleframework.xml.core.StructureBuilder.validate(StructureBuilder.java:502)
	at org.simpleframework.xml.core.ObjectScanner.validate(ObjectScanner.java:419)
	at org.simpleframework.xml.core.ObjectScanner.scan(ObjectScanner.java:373)
	at org.simpleframework.xml.core.ObjectScanner.<init>(ObjectScanner.java:82)
	at org.simpleframework.xml.core.ScannerFactory.getInstance(ScannerFactory.java:81)
	at org.simpleframework.xml.core.Support.getScanner(Support.java:357)
	at org.simpleframework.xml.core.Source.getScanner(Source.java:271)
	at org.simpleframework.xml.core.Source.getSchema(Source.java:317)
	at org.simpleframework.xml.core.Composite.read(Composite.java:198)
	at org.simpleframework.xml.core.Composite.read(Composite.java:148)
	at org.simpleframework.xml.core.Traverser.read(Traverser.java:92)
	at org.simpleframework.xml.core.Persister.read(Persister.java:625)
	at org.simpleframework.xml.core.Persister.read(Persister.java:606)
	at org.simpleframework.xml.core.Persister.read(Persister.java:584)
	at org.simpleframework.xml.core.Persister.read(Persister.java:562)
	at org.simpleframework.xml.core.Persister.read(Persister.java:499)
	at org.simpleframework.xml.core.Persister.read(Persister.java:408)
	at org.simpleframework.xml.core.FloatingTextTest.testFloatingTextStringElementError(FloatingTextTest.java:208)
	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: testFloatingText took 0.111 sec
Testcase: testFloatingTextElementError took 0.006 sec
Testcase: testFloatingTextTextError took 0.003 sec
Testcase: testFloatingTextWithAttributes took 0.02 sec
Testcase: testFloatingTextPathError took 0.006 sec
Testcase: testFloatingTextStringElementError took 0.004 sec
Testcase: testTextWithPath took 0.013 sec
Testcase: testDirectory took 0 sec
