Test Case CSIP71
CSIP71
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: The CHECKSUM-attribute is optional in the METS.xsd but mandatory in CSIP71. CSIP72 states that the CHECKSUMTYPE must also exist, so there is a dependency to this attribute in order to validate the checksums
Rules
-
Rule ID: 1
Descripton: There MUST exist a CHECKSUM-attribute
ERROR: There MUST exist a CHECKSUM-attribute
Packages:
file_missing_CHECKSUM_attribute
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.81s True E-ARK Python Validator v1.1.3 1 invalid 0.37s False minimal_IP_with_1_representation
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.82s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 2
Descripton: The checksum information MUST be the same as the actual checksum value for the file. Note that calculation need to be done by also taking in what CHECKSUMTYPE is given in CSIP72
ERROR: The checksum value for the file is not identical with the checksum value that is given
Packages:
file_wrong_CHECKSUM_value
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.93s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.84s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False minimal_IP_with_1_representation
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.82s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False