-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AIP METS file has 2 different versions of premis #370
Comments
I've marked this as severity:high because PREMIS 3.0 came out in November 2015 - i.e. more than three years ago. The quality of Archivematica's metadata is a key to widespread adoption, and this is a relatively minor change that will bring the system up-to-date with this important standard. |
It looks like there's a little more than just adjusting the eventDetailInformation to get valid PREMIS. Other than updating the namespace and versions everywhere, a couple of other things:
I also get this:
Looks like we'll have to update our tests and their five .xml fixtures too. |
Another: |
Storage Service's relationship with mets-reader-writer will also have to be updated. It's writing our pointer files, which are currently coming out wrong, and I believe this also affects the ability to re-ingest. |
The PREMIS3 update is now part of AM dev/issue-24-handle-old-aips (#24) where we're doing some additional changes to reingest old METS documents, being PREMIS3 only one of the changes needed. It's still work in progress. We've been successfully generating METS with PREMIS3 and reingest too, but old METS are causing some issues. |
Regarding the comment "premis:objectCharacteristicsExtension should not exist if it is going to be blank. It should only exist if it has content, right now we make a self-closing tag." @ablwr would you mind filing that as a separate issue & describe the circumstances under which an empty premis:ObjectCharacteristicsExtension semantic unit would be created? |
@evelynPM I tried to recreate this issue but I think it was resolved in the update. I can see empty self-closing |
Please describe the problem you'd like to be solved.
In the AIP METS file, premis 3.0 is used for intellectual entity but premis 2.2 is used everywhere else
Describe the solution you'd like to see implemented.
There was only one backward-incompatible change in premis 3.0 vs premis 2.2. In premis 3.0 eventDetail was changed to eventDetailInformation and made a repeatable & extensible container instead of a single semantic unit, as follows:
eventDetailInformation (O, R)
--eventDetail (O, NR)
--eventDetailExtension (O, R)
Sample eventDetail from premis 2.2:
<premis:eventDetail>program="python"; module="hashlib.sha256()"</premis:eventDetail>
Same sample in premis 3.0:
<premis:eventDetailInformation>
<premis:eventDetail>program="python"; module="hashlib.sha256()"</premis:eventDetail>
</premis:eventDetailInformation>
Describe alternatives you've considered.
Additional context
For Artefactual use:
Please make sure these steps are taken before moving this issue from Review to Verified in Waffle:
The text was updated successfully, but these errors were encountered: