Adds <creatingApplicationName> and <dateCreatedByApplication> elements for each datastream version to the PREMIS XML.
What's new?
Derives <creatingApplicationName> from the name of the 'islandora' module (i.e., 'Islandora').
Derives <dateCreatedByApplication> from FOXML's datastreamVersion/CREATED attribute value.
Adds both of these new elements to the appropriate place in each datastream version's object properties in the PREMIS XML.
When the HTML version of the PREMIS is viewed, for each datastream version, adds a new row for each of these properties as illustrated in the attached screencap.
How should this be tested?
On an instance with Islandora PREMIS enabled, check out the mjordan/ISLANDORA-2016 branch.
As a user with View and Download PREMIS permissions, visit an object's Manage tab, then click on the PREMIS subtab.
Look for the "creatingApplicationName" and "dateCreatedByApplication" rows in the table. They should be there :8^)
Download the PREMIS XML by clicking on the "Download PREMIS" link.
Open the XML file in an editor. You should see the following markup for each datastream version (date will differ):
JIRA Ticket: https://jira.duraspace.org/browse/ISLANDORA-2016
What does this Pull Request do?
Adds
<creatingApplicationName>
and<dateCreatedByApplication>
elements for each datastream version to the PREMIS XML.What's new?
<creatingApplicationName>
from the name of the 'islandora' module (i.e., 'Islandora').<dateCreatedByApplication>
from FOXML'sdatastreamVersion/CREATED
attribute value.How should this be tested?
Additional Notes:
Documentation at https://wiki.duraspace.org/display/ISLANDORA/Islandora+PREMIS should be updated to indicate that the creating application and date of creation will now be applied to each datastream version.
Interested parties
@Islandora/7-x-1-x-committers