Test Case SIP35
SIP35
Testable: TRUE Schema Valid: Valid Description: mets/fileSec/fileGrp/file/@sip:FILEFORMATKEY MAY exist. If mets/fileSec/fileGrp/file/@sip:FILEFORMATKEY exists then it MUST have a value. The value MUST record the key of the file format in the registry. If mets/fileSec/fileGrp/file/@sip:FILEFORMATKEY 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:FILEFORMATKEY MAY exist.
INFO: mets/fileSec/fileGrp/file/@sip:FILEFORMATKEY does not exist. MAY be: the attribute exists and its value records the key of the file format in the registry.
Packages:
FILEFORMATKEY_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code minimal_SIP_plus_mets_SHOULD_MAY_items
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code -
Rule ID: 2
Descripton: If mets/fileSec/fileGrp/file/@sip:FILEFORMATKEY exists then it MUST have a value.
ERROR: mets/fileSec/fileGrp/file/@sip:FILEFORMATKEY value is empty. MUST be: if the attribute exists then it MUST have a value that records the key of the file format in the registry.
Packages:
FILEFORMATKEY_value_empty
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code minimal_SIP_plus_mets_SHOULD_MAY_items
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code