@Test
public void testSimpleValueArray() throws Exception {

	StringWriter result = new StringWriter();
	XMLStreamWriter writer = new JsonXMLOutputFactory().createXMLStreamWriter(result);
	writer.writeProcessingInstruction(JsonXMLStreamConstants.MULTIPLE_PI_TARGET);
	writer.writeCharacters("edgar");
	writer.writeCharacters("david");
	writer.close();
	Assert.assertEquals("[\"edgar\",\"david\"]", result.toString());
}