File targetXML = new File(xmlDir, targetName);
Document targetDoc = XMLUtility.read(new FileInputStream(targetXML));
Gloze.initSchemaXSI(targetDoc.getDocumentElement(),xmlDir.toURL(),ns,gloze.schemaMap);
Document target = XMLUtility.read(new FileInputStream(targetXML));
// drop the rdf and compare with the target
Document output = gloze.rdf_to_xml(list[i], null, XMLBean.resolveBase(uri,targetXML), m);
assertTrue(Utility.equalXML(output,target, true));
} catch (Exception error) {
fail(list[i].getName()+" : "+error.getMessage());
}
}