} else { logger.info("Record was marked deleted: " + itemID + "/" + mdPrefix);
    public void writeRecordXML(String itemID,                               String mdPrefix,                               String sourceInfo,                               PrintWriter out) throws RepositoryException {        // Parse the sourceInfo string        String[] parts = sourceInfo.trim().split(" ");        if (parts.length < 4) {            throw new RepositoryException("Error parsing sourceInfo (expecting "                    + "4 or more parts): '" + sourceInfo + "'");        }        String dissURI = parts[0];        String aboutDissURI = parts[1];        boolean deleted = Boolean.getBoolean(parts[2]);        String date = parts[3];        List setSpecs = new ArrayList();        for (int i = 4; i < parts.length; i++) {            setSpecs.add(parts[i]);        }    	out.println("<record>");        writeRecordHeader(itemID, deleted, date, setSpecs, out);         if (!deleted) {            writeRecordMetadata(dissURI, out);            if (!aboutDissURI.equals("null")) {                writeRecordAbouts(aboutDissURI, out);            }        }        out.println("</record>");    }