Test Case CSIP32
CSIP32
Testable: TRUE Schema Valid: Valid Description: This testcase is for requirement CSIP32, which relates to the digiprovMD element. The requirement CSIP32 is not stringent and therefore difficult to test, it is based on conditions and optional elements. The requirement text cites METS and mentions embedded or linked metadata, but according to http://earkcsip.dilcis.eu/#534-use-of-the-mets-administrative-metadata-section-element-amdsec . CSIP is only using referencing of files containing administrative metadata. So embedding is not allowed.
Rules
-
Rule ID: 1
Descripton: There should be an XML element named digiprovMD in the mets.xml
ERROR: The element mets/amdSec/digiprovMD does not exist in METS.xml. It SHOULD be there.
Packages:
IP_18000_CSIP32_1
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 2.15s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.15s True E-ARK Python Validator v1.1.3 0 invalid 0.38s True -
Rule ID: 2
Descripton: When one or more mets/amdSec/digiprovMD element(s) exist(s) in mets.xml there SHOULD be files in the folder metadata/preservation. The mets schema allows no files to be present since it allows no href to be present in digiprovMD
ERROR: One or more mets/amdSec/digiprovMD elements exist(s). No file(s) found in metadata/preservation. File(s) SHOULD be there.
Packages:
IP_18000_CSIP32_2
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.84s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.16s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 3
Descripton: When one or more files in the folder metadata/preservation exist(s) there must be a mets/amdSec/digiprovMD element for each file
ERROR: One or more PREMIS files found in the directory metadata/preservation. No digiprovMD element found in mets.xml. The mets/amdSec/digiprovMD element in METS.xml must be used for each external PREMIS file.
Packages:
IP_18000_CSIP32_3
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.16s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True