Skip to content

Commit

Permalink
Merge pull request #9210 from IQSS/3621-update-metadata-namespace
Browse files Browse the repository at this point in the history
3621 update metadata namespace
  • Loading branch information
kcondon committed Dec 7, 2022
2 parents caf25c7 + 716592f commit bdc1f53
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -96,9 +96,15 @@ public class OAIServlet extends HttpServlet {
// be calling ListIdentifiers, and then making direct calls to the export
// API of the remote Dataverse, to obtain the records in native json. This
// is how we should have implemented this in the first place, really.
/*
SEK
per #3621 we are adding urls to the namespace and schema
These will not resolve presently. the change is so that the
xml produced by https://demo.dataverse.org/oai?verb=ListMetadataFormats will validate
*/
private static final String DATAVERSE_EXTENDED_METADATA_FORMAT = "dataverse_json";
private static final String DATAVERSE_EXTENDED_METADATA_NAMESPACE = "Custom Dataverse metadata in JSON format (Dataverse4 to Dataverse4 harvesting only)";
private static final String DATAVERSE_EXTENDED_METADATA_SCHEMA = "JSON schema pending";
private static final String DATAVERSE_EXTENDED_METADATA_NAMESPACE = "https://dataverse.org/schema/core";
private static final String DATAVERSE_EXTENDED_METADATA_SCHEMA = "https://dataverse.org/schema/core.xsd";

private Context xoaiContext;
private SetRepository setRepository;
Expand Down

0 comments on commit bdc1f53

Please sign in to comment.