Test Case CSIP34
CSIP34
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: Status of the metadata. If used the two values “SUPERSEDED” or “CURRENT” from the vocabulary is used. The attribute is optionable via the METS schema and the METS standard, and there are no limits to the values in the attribute, so the CSIP tightens this
Rules
-
Rule ID: 1
Descripton: The status-attribute should exist
ERROR: The amdSec-element has no status-attribute.
Packages:
IP_amdSec_missing_status_attribute
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 1.03s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.27s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True 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.96s 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: The status-attribute for the amdSec-element should contain a value as taken from the vocubulary
ERROR: The value is not found in the vocabulary
Packages:
IP_amdSec_status_attribute_wrong_value
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.27s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True 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.96s 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