Test Case CSIP1
CSIP1
Testable: TRUE Schema Valid: Valid Description: mets/@OBJID MUST exist. mets/@OBJID MUST have a non-empty value. mets/@OBJID SHOULD be: a) For the package METS document, @OBJID SHOULD be equal to the name/ID of the package, i.e. the name of the package root folder; b) For a representation level METS document, @OBJID SHOULD be equal to the name/ID of the representation, i.e. the name of the representation folder.
Rules
-
Rule ID: 1
Descripton: mets/@OBJID MUST exist.
ERROR: mets/@OBJID attribute does not exist. MUST be: attribute exists and has a value.
Packages:
mets-xml_mets_OBJID_attribute_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.87s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.88s True E-ARK Python Validator v1.1.3 0 invalid 0.38s True 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.85s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 2
Descripton: mets/@OBJID MUST have a non-empty value.
ERROR: mets/@OBJID attribute value is empty. MUST be: attribute exists and has a value.
Packages:
mets-xml_mets_OBJID_attribute_value_empty
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.90s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.84s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True 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.85s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 3
Descripton: If the METS document is in the root folder, mets/@OBJID SHOULD be equal to the package ID (i.e. the name of the root folder).
ERROR: mets/@OBJID attribute value not equal to the proper ID. SHOULD be: mets/@OBJID is equal to the package ID.
Packages:
root_mets_file_mets-xml_mets_OBJID_not_equal_to_package_ID
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.85s True E-ARK Python Validator v1.1.3 0 invalid 0.38s 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.85s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 4
Descripton: If the METS document is in a representation folder, mets/@OBJID SHOULD be equal to the representation ID (i.e. the name of the representation folder).
ERROR: mets/@OBJID attribute value not equal to the proper ID. SHOULD be: mets/@OBJID is equal to the representation ID.
Packages:
rep_mets_file_mets-xml_mets_OBJID_not_equal_to_rep_ID
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.91s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.89s True E-ARK Python Validator v1.1.3 0 invalid 0.38s False valid_minimal_with_one_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.85s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False