Test Case CSIP101
CSIP101
Testable: TRUE Schema Valid: Valid Description: A warning is thrown if there is no div-element with the @LABEL='Representations' nested in the div-element with the @LABEL='CSIP', and an error is thrown if there are more than one div-element with the @LABEL='Representations' nested in the div-element with the @LABEL='CSIP'. Note the difference: - CSIP101 and CSIP103 apply to IPs with no representations and have div/@LABEL='Representations'. - CSIP105 and CSIP107 apply to IPs with one or more representations and have div/@LABEL='Representations/rep_folder_name'.
Rules
-
Rule ID: 1
Descripton: There SHOULD be a div-element with the @LABEL='Representations' nested in the div-element with the @LABEL='CSIP'
ERROR: There SHOULD be a div-element with the @LABEL='Representations' nested in the div-element with the @LABEL='CSIP'
Packages:
no_div_label_Representations
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code -
Rule ID: 2
Descripton: There MUST be maximum one div-element with the @LABEL='Representations' nested in the div-element with the @LABEL='CSIP'
ERROR: There MUST be maximum one div-element with the @LABEL='Representations' nested in the div-element with the @LABEL='CSIP'
Packages:
two_div_elements_with_label_metadata
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code