Testsuite: de.zeigermann.xml.XMLWriterTest
Tests run: 14, Failures: 1, Errors: 0, Time elapsed: 0.037 sec
------------- Standard Output ---------------
testCreateEndTag
testCreateStartTag
testCreateStartTag2
testCreateEmptyStartTag
testWriteProlog
testWriteComment
testWritePI
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>

XMLEncode.xmlDecodeTextToCDATA
DETAIL TEST
<next
><root at1="v1" at2="v2"
/><next1
></next1
></next
>
EXTENDED CONVENIENCE TEST
<root at1="v1" at2="v2">&lt;cdata&gt;</root>

CHECKING ISO-8859-1 german umlaute
<?xml version="1.0"?>
<root>text ??? ??? ?</root>

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 SAX Attributes
------------- ---------------- ---------------

Testcase: testCreateEndTag took 0.003 sec
Testcase: testCreateStartTag took 0.001 sec
Testcase: testCreateStartTag2 took 0 sec
Testcase: testCreateEmptyStartTag took 0 sec
Testcase: testWriteProlog took 0 sec
Testcase: testWriteComment took 0 sec
Testcase: testWritePI took 0 sec
Testcase: testMain took 0.001 sec
Testcase: testDecode took 0 sec
Testcase: testDetail took 0 sec
Testcase: testExtendedConvenience took 0 sec
Testcase: testUmlaute took 0.001 sec
Testcase: testEncoding took 0.018 sec
	FAILED

Wrong encoding:
-1
Should be:
0

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

	at de.zeigermann.xml.XMLWriterTest.testEncoding(XMLWriterTest.java:373)

Testcase: testSAXAttributes took 0 sec
