The name of a charters’ parent archive is used in the EDM variant of OAI-PMH. This was read from charter documents (//cei:witnessOrig/cei:archIdentifier/cei:arch), but sometimes this value is empty. This PR replaces the code that optionally read the collection name for EDM from the collection file with a generated"$parent-title" that is filled both for archival and collection charters with a fitting value. This is used in place of the old $opt-collection-title and newly in dcterms:isPartOf.
Additionally, dc:identifier is now correctly set to atom:id instead of cei:idno as we were told that this value has to be unique and the "Signature" based identifier alone isn’t.
The name of a charters’ parent archive is used in the EDM variant of OAI-PMH. This was read from charter documents (
//cei:witnessOrig/cei:archIdentifier/cei:arch
), but sometimes this value is empty. This PR replaces the code that optionally read the collection name for EDM from the collection file with a generated"$parent-title" that is filled both for archival and collection charters with a fitting value. This is used in place of the old$opt-collection-title
and newly indcterms:isPartOf
. Additionally, dc:identifier is now correctly set toatom:id
instead ofcei:idno
as we were told that this value has to be unique and the "Signature" based identifier alone isn’t.