Test Case SIP1
SIP1
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: mets/@LABEL MAY exist. If mets/@LABEL exists then it MUST have a value. If mets/@LABEL exists then its value MUST describe the contents of the package.
Rules
-
Rule ID: 1
Descripton: mets/@LABEL MAY exist.
INFO: mets/@LABEL attribute does not exist. MAY be: mets/@LABEL exists and its value is a short text describing the contents of the package.
Packages:
mets_root_LABEL_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.00s 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.88s 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 -
Rule ID: 2
Descripton: If mets/@LABEL exists then it MUST have a value.
INFO: mets/@LABEL attribute has no value. MUST be: if mets/@LABEL exists then it MUST have a value that is a short text describing the contents of the package.
Packages:
mets_root_LABEL_no_value
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.02s 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.88s 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