"</xmlBlaster>\n";
// assertXpathExists("/qos/securityService[@type='htpasswd']", qos);
StringReader reader = new StringReader(txt);
InputSource input = new InputSource(reader);
//input.setEncoding("UTF-8");
//input.setEncoding("ISO-8859-2");
//input.setSystemId("9999999999");
try {
DocumentBuilderFactory dbf = glob.getDocumentBuilderFactory();
DocumentBuilder db = dbf.newDocumentBuilder();
Document xmlDoc = db.parse(input);
ByteArrayOutputStream out = XmlNotPortable.writeNode(xmlDoc.getDocumentElement());
String response = new String(out.toByteArray());
log.info(response);
reader = new StringReader(response);
input = new InputSource(reader);
Document xmlDoc1 = db.parse(input);
this.assertXMLEqual("", xmlDoc, xmlDoc1);
}
catch (ParserConfigurationException e) {
log.severe("Problems when building DOM parser: " + e.toString() + "\n" + txt);