Skip to content

OAI-PMH compatibility broken / Records assigned to more than one sets are not mapped correctly #3687

@tkgesis

Description

@tkgesis

Usually, if a record belongs to two oai-pmh sets, both the ListIdentifiers and GetRecords response of that record contains all the oai setSpec that this record is associated with:

https://easy.dans.knaw.nl/oai/?verb=ListIdentifiers&from=2012-06-01&until=2017-02-07&set=driver&metadataPrefix=oai_dc

view-source:https://easy.dans.knaw.nl/oai/?verb=GetRecord&identifier=oai:easy.dans.knaw.nl:easy-dataset:31153&metadataPrefix=oai_dc

In the dataverses https://dataverse.harvard.edu and https://dataverse.unc.edu/ we see a different behavior.

The oai ListIdentifiers for UNC for odum_all shows always only one set
https://dataverse.unc.edu/oai?verb=ListIdentifiers&from=2012-06-01&until=2017-02-07&set=odum_all&metadataPrefix=oai_dc
https://dataverse.unc.edu/oai?verb=ListIdentifiers&from=2012-06-01&until=2017-02-07&set=wilis&metadataPrefix=oai_dc

If you resolve a record via GetRecord, the setSpec differs from the one indicated in the ListIdentifiers :
https://dataverse.unc.edu/oai?verb=GetRecord&identifier=hdl:1902.29/10438&metadataPrefix=oai_dc

The multi-valued setSpec relationship is apparently not mapped completely. It is always only one setSpec, and which setSpec is shown varies upon which oai-pmh verb you use.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions