Test Case CSIP31
CSIP31
Testable: TRUE Schema Valid: Valid Description: This testcase is for requirement CSIP31, which relates to administrative metadata; the optional amdSec elements in the mets.xml file and to the optional files in the folder metadata/preservation (or elsewhere). The requirement CSIP31 is not stringent and therefore difficult to test, it is based on conditions and optional elements. The requirement text about 'It is possible to transfer metadata in a package using just the descriptive metadata sectiond/or adminstrative metadata section.' does not give much meaning here.
Rules
-
Rule ID: 1
Descripton: There should be an XML element named amdSec in the mets.xml
ERROR: The element mets/amdSec does not exist in METS.xml. It SHOULD be there.
Packages:
IP_18000_CSIP31_1
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.91s True E-ARK Python Validator v1.1.3.dev7 0 invalid 1.96s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True -
Rule ID: 2
Descripton: When one or more mets/amdSec element exist in mets.xml there SHOULD be files in the folder metadata/preservation (or metadata/xxx)
ERROR: One or more mets/amdSec elements exist(s). No file(s) found in metadata/preservation. File(s) SHOULD be there.
Packages:
IP_18000_CSIP31_2
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.85s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.01s 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 there MUST be one or more mets/amdSec element(s) in METS.xml
ERROR: One or more file(s) found in the folder metadata/preservation. The amdSec-element in METS.xml 'Must be used if administrative / preservation metadata for the package content is available'
Packages:
IP_18000_CSIP31_3
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.87s True E-ARK Python Validator v1.1.3.dev7 0 invalid 1.97s True E-ARK Python Validator v1.1.3 0 invalid 0.38s True