mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-13 13:03:11 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user