@Test
public void testWriteEmptyElement1bRepaired() throws XMLStreamException {

	XMLStreamWriter writer = createXMLStreamWriter(true);
	writer.writeEmptyElement("http://p", "foo");
	writer.flush();
	Assert.assertEquals("<foo xmlns=\"http://p\"", writer.toString());
}