String xml = parseFully(response.getEntity().getContent());
Assert.assertTrue(xml.startsWith(declaration));
xml = xml.substring(declaration.length());
XMLElement elm = new XMLUtil(xml).parse();
Assert.assertEquals("cross-domain-policy", elm.getName());
Assert.assertEquals(2, elm.getInnerElements().size());
XMLElement firstChild = elm.getInnerElements().get(0);