Test Case SIP32
SIP32
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: mets/fileSec/fileGrp/file/@sip:FILEFORMATNAME MAY exist. If mets/fileSec/fileGrp/file/@sip:FILEFORMATNAME exists then it MUST have a value. The value MUST record the name of the file format.
Rules
-
Rule ID: 1
Descripton: mets/fileSec/fileGrp/file/@sip:FILEFORMATNAME MAY exist.
INFO: mets/fileSec/fileGrp/file/@sip:FILEFORMATNAME does not exist. MAY be: the attribute exists and its value records the name of the file format.
Packages:
FILEFORMATNAME_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.92s 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.86s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.99s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False -
Rule ID: 2
Descripton: If mets/fileSec/fileGrp/file/@sip:FILEFORMATNAME exists then it MUST have a value.
ERROR: mets/fileSec/fileGrp/file/@sip:FILEFORMATNAME value is empty. MUST be: if the attribute exists then it MUST have a value that records the name of the file format.
Packages:
FILEFORMATNAME_value_empty
Expected result: invalid
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.01s False E-ARK Python Validator v1.1.3 0 invalid 0.39s 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.86s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.99s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False