Add a modified transform to meet EZID requirements.

The EZID provider depends on the registrar to generate and return the
identifier, so it cannot supply one in the request. But the DataCite
XML schema requires an "identifier" element. A new transform is
offered, which generates an empty "identifier" element, satisfying
EZID.
This commit is contained in:
Mark H. Wood
2014-11-06 11:11:59 -05:00
parent 33abc10c11
commit 1812209ed6
3 changed files with 440 additions and 0 deletions

View File

@@ -610,6 +610,7 @@ public class EZIDIdentifierProvider
DataCiteXMLCreator xmlGen = new DataCiteXMLCreator();
xmlGen.setDisseminationCrosswalkName(DATACITE_XML_CROSSWALK);
String xmlString = xmlGen.getXMLString(dso);
log.debug("Generated DataCite XML: {}", xmlString);
mapped.put("datacite", xmlString);
}