Test Case CSIP21
CSIP21
Testable: TRUE Schema Valid: Valid Description: The mdRef-element SHOULD be there. Therefore a warning should be presented if a package has no mdRef-element. The problem here is that the correctness of there being a mdRef-element or not really relies on whether there is a descriptive metadata file or not. The current CSIP21 does not take this into consideration.
Rules
-
Rule ID: 1
Descripton: The mdRef-element MUST be there if there are files in /metadata/descriptive/
ERROR: The mdRef-element MUST be there if there are files in /metadata/descriptive/ but there is no dmdSec/mdRef-element in METS.xml.
Packages:
IP_18000_CSIP21_1
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.86s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.32s True E-ARK Python Validator v1.1.3 0 invalid 0.40s True -
Rule ID: 2
Descripton: The mdRef-element SHOULD be there
ERROR: There is no dmdSec/mdRef-element in METS.xml
Packages:
IP_18000_CSIP21_2
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.85s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.32s True E-ARK Python Validator v1.1.3 0 invalid 0.40s True