@Test
public void testCXF2468() throws Exception {
Document doc = XMLUtils.newDocument();
doc.appendChild(doc.createElementNS("http://blah.org/", "blah"));
Element foo = doc.createElementNS("http://blah.org/", "foo");
Attr attr = doc.createAttributeNS("http://www.w3.org/2001/XMLSchema-instance", "xsi:nil");
attr.setValue("true");
foo.setAttributeNodeNS(attr);
doc.getDocumentElement().appendChild(foo);
XMLStreamReader sreader = StaxUtils.createXMLStreamReader(doc);
StringWriter sw = new StringWriter();