Test Case CSIP41
CSIP41
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: The SIZE-attribute is optional according to the METS.xsd but mandatory in CSIP41
Rules
-
Rule ID: 1
Descripton: The MUST exist a SIZE-attribute in mdRef
ERROR: There MUST exist a SIZE-attribute in mdRef (so that the size of the referenced file can be recorded)
Packages:
mdRef_missing_SIZE_attribute
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.95s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.26s True E-ARK Python Validator v1.1.3 1 invalid 0.38s False valid_IP_with_SHOULD_MAY_1_rep
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.99s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.24s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False -
Rule ID: 2
Descripton: There should be a check if the information of size of the file is correct
ERROR: The size of the file is not the size that is given in the SIZE-attribute
Packages:
mdRef_wrong_SIZE
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 1.00s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.24s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False valid_IP_with_SHOULD_MAY_1_rep
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.99s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.24s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False