@Test
public void testCharactersCData() throws XMLStreamException {

	XMLEventReader reader = createXmlEventReader("<alice>bob</alice>", ACCEPT_ALL);
	Assert.assertEquals(XMLStreamConstants.START_ELEMENT, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.CHARACTERS, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.END_ELEMENT, reader.nextEvent().getEventType());
	reader = createXmlEventReader("<alice><![CDATA[bob]]></alice>", ACCEPT_ALL);
	Assert.assertEquals(XMLStreamConstants.START_ELEMENT, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.CDATA, reader.nextEvent().getEventType());
	Assert.assertEquals(XMLStreamConstants.END_ELEMENT, reader.nextEvent().getEventType());
}