Test Case CSIP97
CSIP97
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: This requirement is only losely coupled to CSIP113. CSIP113 states that "All XML schemas used in the information package should/must be referenced from one or more file groups with mets/fileSec/fileGrp/@USE attribute value “Schemas”." The CSIP97 requirement is only at a should-level, and that leads to the interpretation that CSIP97 is not strictly bound to CSIP113 which means that this testCase should only validate the existance of one and maximum one div-element with the @LABEL="Schemas"
Rules
-
Rule ID: 1
Descripton: There SHOULD be a div-element with the @LABEL='Schemas' nested in the div-element with the @LABEL='CSIP'
ERROR: There SHOULD be a div-element with the @LABEL='Schemas' nested in the div-element with the @LABEL='CSIP'
Packages:
no_div_label_Schemas
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.82s True E-ARK Python Validator v1.1.3 0 invalid 0.37s True minimal_IP_with_1_representation
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.92s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.88s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 2
Descripton: There MUST be mamximum one div-element with the @LABEL='Schemas' nested in the div-element with the @LABEL='CSIP'
ERROR: There MUST be mamximum one div-element with the @LABEL='Schemas' nested in the div-element with the @LABEL='CSIP'
Packages:
two_div_elements_with_label_Schemas
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.00s True E-ARK Python Validator v1.1.3 0 invalid 0.38s False minimal_IP_with_1_representation
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.92s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.88s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False