"http://www.sosnoski.com/uwjws/library"));
// Serialize and cache. This should cause expansion. The prefix should be updated to match the testDocument string
StringWriter writer = new StringWriter();
XMLStreamWriter xmlwriter = StAXUtils.createXMLStreamWriter(writer);
root.serialize(writer);
xmlwriter.flush();
String result = writer.toString();
assertTrue(element.getLocalName().equals("library"));
assertTrue(element.getNamespace().getNamespaceURI().equals(