meta.setMimeType(mimetype);
meta.setCreated(date_created.getTime());
meta.setLastModified(date_modified.getTime());
if((publicid != null) || (systemid != null)) {
final DocumentType docType = new DocumentTypeImpl(namedoctype, publicid, systemid);
meta.setDocType(docType);
}
rh.startDocumentRestore(resource, atts);