Test Case SIP34
SIP34
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY MAY exist. If mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY exists then it MUST have a value. The value MUST record the name of the format registry used to identify the file format. If mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY exists then the use of PREMIS MUST not have been agreed upon in the submission agreement.
Rules
-
Rule ID: 1
Descripton: mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY MAY exist.
INFO: mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY does not exist. MAY be: the attribute exists and its value records the name of the format registry used to identify the file format.
Packages:
FILEFORMATREGISTRY_not_exist
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 2.96s 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.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.97s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 2
Descripton: If mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY exists then it MUST have a value.
ERROR: mets/fileSec/fileGrp/file/@sip:FILEFORMATREGISTRY value is empty. MUST be: if the attribute exists then it MUST have a value that records the format registry used to identify the file format.
Packages:
FILEFORMATREGISTRY_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 2.95s 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.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.97s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False