Closed matthew-morris-cessda closed 1 year ago
BASE validation results (http://oval.base-search.net/)
OAI-PMH Validator results
A bit confused by the validation error for the use of :
in setSpec
in the examples its used in the way we use it to structure sets for subjects, principals etc but in the same palace :
is listed as non valid for setSpec
http://www.openarchives.org/OAI/openarchivesprotocol.html#Set
On further investigation, this is reproducible in the OAI-PMH endpoint with a ListRecords
request. For 2023-101-1
.
...
<record>
<header>
<identifier>2023-101-1</identifier>
<datestamp>2023-05-24T06:51:22Z</datestamp>
<setSpec>principal:</setSpec>
<setSpec>subject:cessda:Politics.Elections</setSpec>
<setSpec>subject:cessda:Politics.PoliticalBehaviourAndAttitudes</setSpec>
<setSpec>subject:ssif:5</setSpec>
<setSpec>subject:ssif:506</setSpec>
<setSpec>subject:cessda:Politics</setSpec>
</header>
...
Note for the first setSpec
that principal:
is present.
Ah, got it. was looking on the set listing. this is an error where domain is missing for this principal. will do a fix and push it so principal sets are genererated in the correct way
@matthew-morris-cessda fixed the principal:
sets now. A principal setSpec should not be generated if the domain for the principal is set in for the dataset.
Confirmed fixed
1,316 records harvested. 0 XML schema violations, 0 constrain violations.
The MO IT team recieved an email from SND about changes to their OAI-PMH endpoint.
This will require the following changes
https://snd.gu.se/en/oai-pmh
→https://snd.gu.se/oai-pmh
setSpec
:subject:social-sciences
→subject:ssif:5