Skip to content

Usage@Editation of ARCLib Xml

Jan Tomášek edited this page Dec 15, 2022 · 4 revisions
  • Usecase: Editation of existing ARCLib XML

The page for editation of ARCLibXML is accessible from the AIP detail page that is accessible from the Aip search menu. Only the last version ARCLibXML of the respective AIP is editable, e.g. if there are version 1.1, 1.2, 1.3, 2.1, 2.2, it is available only for the version 2.2.

In the editation page user specifies reason of editation and modifies the desired elements. Furthermore, user can upload an XML as a file by clicking the Upload xml button or download the current edited version of the XML by hitting Download xml. The elements containing logical version number and ID of previous logical version are updated automatically when saving the edited XML and there is no need to change them by user manually. After the editation is finished user clicks Submit to save the edited XML or Cancel to trash the changes.

During the editation process the respective authorial package is locked for editation. Only a single editation of XML at a time can be performed on a certain authorial package. If there is an ongoing editation, user is shown a warning and has to wait until the current editation finishes.

Before the edited XML is saved to ARCLib the same validations as those in ARCLibXML extractor and ARCLibXML generator tasks are performed.

If the validations succeeds the XML is synchronously saved to archival storage.

Adding update metadata

Before the new version of ARCLib XML is saved, the following elements are updated:

  1. XML id is replaced with new XML id
  2. LASTMODDATE is set with the current date time
  3. XML version is incremennted
  4. XML version of is updated to the current previous version XML
  5. New premis:event of type metadata modification is added. It includes the reason for modification and the user that modified the XML.
Clone this wiki locally