try {
String xmlText = otherContent.getXml().getBlob();
// TODO : This is a temporary work-around till a solution for escaping the
// '>' by the GData client library is worked
xmlText = xmlText.replaceAll("]]>", "]]>");
Map<String, Object> entity = xmlUtil.convertXmlToProperties(xmlText);
if (entity == null) {
entity = new HashMap<String, Object>();
}
// copy id which is the same as self and edit link
entity.put(ContentUtil.ID, entry.getId());