Testsuite: de.zeigermann.xml.XMLWriterTest
Tests run: 14, Failures: 1, Errors: 0, Time elapsed: 0.163 sec
------------- Standard Output ---------------
CHECKING SAX Attributes
CHECKING TWO BYTE ENCODING
60, 63, 120, 109, 108, 32, 118, 101, 114, 115, 105, 111, 110, 61, 34, 49, 46, 48, 34, 32, 101, 110, 99, 111, 100, 105, 110, 103, 61, 34, 85, 84, 70, 45, 49, 54, 34, 63, 62, 10, -2, -1, 0, 60, 0, 114, 0, 62, 0, 116, 0, 32, -1, CHECKING ISO-8859-1 german umlaute
<?xml version="1.0"?>
<root>text ??? ??? ?</root>

EXTENDED CONVENIENCE TEST
<root at1="v1" at2="v2">&lt;cdata&gt;</root>

DETAIL TEST
<next
><root at1="v1" at2="v2"
/><next1
></next1
></next
>
XMLEncode.xmlDecodeTextToCDATA
MAIN TEST
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE log SYSTEM '../share/log.dtd'>
<next>
  <root at1="v1" at2="v2">&lt;kein-tag&gt;</root>
  <root at1="v1" at2="v2"/>
  <next1>
    <next2>
      <next3><![CDATA[This is long <![CDATA[CDATA that can be encoded as CDATA block]]></next3>
      <next3>This is long &lt;![CDATA[CDATA]]&gt; that can not be encoded as CDATA block<root at1="v1" at2="v2"/>
      </next3>
    </next2>
  </next1>
</next>

testWritePI
testWriteComment
testWriteProlog
testCreateEmptyStartTag
testCreateStartTag2
testCreateStartTag
testCreateEndTag
------------- ---------------- ---------------

Testcase: testSAXAttributes took 0.029 sec
Testcase: testEncoding took 0.025 sec
	FAILED

Wrong encoding:
-1
Should be:
0

junit.framework.AssertionFailedError: 
Wrong encoding:
-1
Should be:
0

	at de.zeigermann.xml.XMLWriterTest.testEncoding()V(XMLWriterTest.java:373)
	at jrockit.reflect.NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
	at jrockit.reflect.NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)
	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown Source)

Testcase: testUmlaute took 0.004 sec
Testcase: testExtendedConvenience took 0.006 sec
Testcase: testDetail took 0.004 sec
Testcase: testDecode took 0.003 sec
Testcase: testMain took 0.003 sec
Testcase: testWritePI took 0.002 sec
Testcase: testWriteComment took 0.001 sec
Testcase: testWriteProlog took 0.001 sec
Testcase: testCreateEmptyStartTag took 0 sec
Testcase: testCreateStartTag2 took 0.001 sec
Testcase: testCreateStartTag took 0 sec
Testcase: testCreateEndTag took 0.001 sec
