Test Case CSIP92
CSIP92
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: If there is descriptive metadata, then this attribute MUST exist. Since the checks for descriptive metadata has been handled in the dmdSec, then this requirement is linked to CSIP18 and just making the checks that the dmdSec ID's are in this label. Since there can only be one div-element with @LABEL metadata then the schema makes sure that there
Rules
-
Rule ID: 1
Descripton: If there are dmdSec ID's then the @DMDID-attribute MUST exist
ERROR: There are descriptive metadata described in dmdSec and therefore there must be an mets/structMap[@LABEL='CSIP']/div/div[@LABEL='Metadata']/@DMDID. All dmdSec ID's MUST be listed in the @DMDID using spaces as delimiters
Packages:
structMap_missing_metadata_dmdid_attribute
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code -
Rule ID: 2
Descripton: All dmdSec ID's MUST be listed in the @DMDID
ERROR: All dmdSec ID's MUST be listed in the @DMDID using spaces as delimiters
Packages:
structMap_metadata_dmdid_attribute_missing_IDs
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code structMap_metadata_dmdid_attribute_too_many_IDs
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code