Test Case SIP3
SIP3
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: metsHdr/@RECORDSTATUS MAY exist. If metsHdr/@RECORDSTATUS exists then it MUST have a value from VocabularyRECORDSTATUS.
Rules
-
Rule ID: 1
Descripton: metsHdr/@RECORDSTATUS MAY exist.
INFO: metsHdr/@RECORDSTATUS attribute does not exist. MAY be: metsHdr/@RECORDSTATUS exists and has a value from VocabularyRECORDSTATUS that instructs the OAIS on how to properly handle the package. Note: the attribute not being present is to be interpreted by the OAIS as metsHdr/@RECORDSTATUS = "NEW".
Packages:
SIP_metsHdr_RECORDSTATUS_not_exist
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.99s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False minimal_SIP_plus_mets_SHOULD_MAY_items
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.87s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.00s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True -
Rule ID: 2
Descripton: If metsHdr/@RECORDSTATUS exists then it MUST have a value from VocabularyRECORDSTATUS.
INFO: metsHdr/@RECORDSTATUS attribute has incorrect value. MUST be: if metsHdr/@RECORDSTATUS exists then it MUST have a value from VocabularyRECORDSTATUS.
Packages:
SIP_metsHdr_RECORDSTATUS_value_empty
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.90s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.01s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True SIP_metsHdr_RECORDSTATUS_incorrect
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.01s True E-ARK Python Validator v1.1.3 0 invalid 0.40s True minimal_SIP_plus_mets_SHOULD_MAY_items
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.87s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.00s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True