private String writeXML(BugInstance inst, BugCollection bc) throws IOException {
ByteArrayOutputStream bout = new ByteArrayOutputStream();
XMLOutput out = new OutputStreamXMLOutput(bout);
inst.writeXML(out, bc, bc.getWithMessages());
out.finish();
return new String(bout.toByteArray(), "UTF-8");
}
private void get(Iterator<BugProperty> iter) {
try {