Test Case CSIP17
CSIP17
Testable: TRUE Schema Valid: Valid Description: This testcase is for requirement CSIP17, which relates to descriptive metadata; the optional dmdSec elements in the mets.xml file and to the optional files in the folder metadata/descriptive. The requirement CSIP17 is not stringent and therefore difficult to test, it is based on conditions and optional elements. Quote from CSIP17: Must be used if descriptive metadata for the package content is available. Each descriptive metadata section (dmdSec) contains one description and thus is repeated when more descriptions are available. It is possible to transfer metadata in a package using just the descriptive metadata section/or adminstrative metadata section.
Rules
-
Rule ID: 1
Descripton: There should be an XML element named dmdSec in the mets.xml
ERROR: The element mets/dmdSec does not exist in METS.xml. It SHOULD be there.
Packages:
IP_18006_CSIP17_1
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.87s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.33s True E-ARK Python Validator v1.1.3 0 invalid 0.38s True -
Rule ID: 2
Descripton: When one or more mets/dmdSec element exist in mets.xml there SHOULD be files in the folder metadata/descriptive
ERROR: One or more mets/dmdSec elements exist(s). No file(s) found in metadata/descriptive. File(s) SHOULD be there.
Packages:
IP_18000_CSIP17_2
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.87s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.44s 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/descriptive exist there should be one or more mets/dmdSec element(s) in mets.xml
ERROR: One or more file(s) found in the directory metadata/descriptive. The dmdSec-element in METS.xml 'Must be used if descriptive metadata for the package content is available'
Packages:
IP_18000_CSIP17_3
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.84s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.40s True E-ARK Python Validator v1.1.3 0 invalid 0.38s True