Test Case CSIP4
CSIP4
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: If the METS document is at the package level (i.e. in the root folder) then mets/@csip:CONTENTINFORMATIONTYPE SHOULD (i.e. is recommended to) exist. If the METS document is at the representation level (i.e. in the /representations folder) then mets/@csip:CONTENTINFORMATIONTYPE MUST exist. If mets/@csip:CONTENTINFORMATIONTYPE exists, it MUST have a value from the VocabularyContentInformationTypeSpecification as defined by DILCIS Board. If mets/@csip:CONTENTINFORMATIONTYPE = "OTHER" then mets/@csip:OTHERCONTENTINFORMATIONTYPE MUST exist and have a value. Note: there is ambiguity around the case where an IP with one representation has only the root METS.xml (such a configuration is allowed by CSIP v.2.0.3). It could be said that such root METS.xml actually serves as representation METS.xml and thus mets/@csip:CONTENTINFORMATIONTYPE MUST exist. The interpretation here is that this is not the case, i.e. METS.xml is "representation level" only if it is located in /representations folder.
Rules
-
Rule ID: 1
Descripton: If the METS document is in the root folder, mets/@csip:CONTENTINFORMATIONTYPE SHOULD exist.
ERROR: mets/@csip:CONTENTINFORMATIONTYPE attribute does not exist. SHOULD be: mets/@csip:CONTENTINFORMATIONTYPE exists and has a value from VocabularyContentInformationTypeSpecification.
Packages:
CONTENTINFORMATIONTYPE_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.98s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.24s 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.95s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.25s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 2
Descripton: If the METS document is in the representations folder, mets/@csip:CONTENTINFORMATIONTYPE MUST exist.
ERROR: mets/@csip:CONTENTINFORMATIONTYPE attribute does not exist. MUST be: mets/@csip:CONTENTINFORMATIONTYPE exists and has a value from VocabularyContentInformationTypeSpecification.
Packages:
rep_mets_csip_CONTENTINFORMATIONTYPE_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 1.12s True E-ARK Python Validator v1.1.3.dev7 0 invalid 1.74s False E-ARK Python Validator v1.1.3 0 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.95s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.25s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 3
Descripton: If mets/@csip:CONTENTINFORMATIONTYPE exists, it MUST have a value from the VocabularyContentInformationTypeSpecification as defined by DILCIS Board.
ERROR: mets/@csip:CONTENTINFORMATIONTYPE attribute has incorrect value. MUST be: mets/@csip:CONTENTINFORMATIONTYPE has a value from the VocabularyContentInformationTypeSpecification as defined by DILCIS.
Packages:
CONTENTINFORMATIONTYPE_value_incorrect
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.86s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.23s 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.95s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.25s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 4
Descripton: If mets/@csip:CONTENTINFORMATIONTYPE = "OTHER" then mets/@csip:OTHERCONTENTINFORMATIONTYPE MUST exist.
ERROR: mets/@csip:OTHERCONTENTINFORMATIONTYPE attribute does not exist. MUST be: If mets/@csip:CONTENTINFORMATIONTYPE = "OTHER" then mets/@csip:OTHERCONTENTINFORMATIONTYPE MUST exist and have a value.
Packages:
CONTENTINFORMATIONTYPE_OTHER_and_OTHERCONTENTINFORMATIONTYPE_not_exist
Expected result: invalid
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.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.95s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.25s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 5
Descripton: If mets/@csip:CONTENTINFORMATIONTYPE = "OTHER" then mets/@csip:OTHERCONTENTINFORMATIONTYPE MUST exist and have a value.
ERROR: mets/@csip:OTHERCONTENTINFORMATIONTYPE attribute has no value. MUST be: If mets/@csip:CONTENTINFORMATIONTYPE = "OTHER" then mets/@csip:OTHERCONTENTINFORMATIONTYPE MUST exist and have a value.
Packages:
CONTENTINFORMATIONTYPE_OTHER_and_OTHERCONTENTINFORMATIONTYPE_no_value
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 1.00s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.25s 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.95s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.25s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False