final XMLStreamReader reader = XMLInputFactory.newInstance().createXMLStreamReader(new StringReader(xml));
final StandaloneXml parser = new StandaloneXml(null, null, null);
final List<ModelNode> operationList = new ArrayList<ModelNode>();
final XMLMapper mapper = XMLMapper.Factory.create();
mapper.registerRootElement(new QName(namespace, "server"), parser);
mapper.parseDocument(operationList, reader);
final ModelNode content = operationList.get(1).get("content");
assertEquals(false, content.get(0).get("archive").asBoolean());
assertEquals("deployments/test.jar", content.get(0).get("path").asString());
assertEquals("jboss.server.base.dir", content.get(0).get("relative-to").asString());
}