Test Case CSIP105
CSIP105
Testable: TRUE Schema Valid: Valid Description: Linked together with CSIP107. The validation tool should traverse the representations folder to see how many representation METS.xmls exist in the representation folders.
Rules
-
Rule ID: 1
Descripton: There SHOULD be a div-element for each representation METS.xml in the representation folder with the path in @LABEL
ERROR: There are one or more representation METS.xml in the package which are not mentioned in mets/structMap. The path to each representation METS.xml should exist as a value in mets/structMap[@LABEL='CSIP']/div/div/@LABEL
Packages:
missing_mention_of_rep_in_structMap
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code -
Rule ID: 2
Descripton: There MUST not be div-element with a path in @LABEL to a representation METS.xml which does not exist
ERROR: There are one or more paths given in mets/structMap[@LABEL='CSIP']/div/div/@LABEL which does not direct to an existing file
Packages:
path_to_nonexisting_rep_METS
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code