@Test
public void testCharactersCData() throws XMLStreamException {

	StringWriter stringWriter = new StringWriter();
	createXmlEventWriter(stringWriter).add(createXmlEventReader("<alice>bob</alice>"));
	Assert.assertEquals("<alice>bob</alice>", stringWriter.toString());
	stringWriter = new StringWriter();
	createXmlEventWriter(stringWriter).add(createXmlEventReader("<alice><![CDATA[bob]]></alice>"));
	Assert.assertEquals("<alice><![CDATA[bob]]></alice>", stringWriter.toString());
}