Test Case CSIP30
CSIP30
Testable: TRUE Schema Valid: Valid Description: It has cardinality '1..1' and level 'MUST' in CSIP. It is mandatory in CSIP but optional in METS. Rule needed for the existence of the attribute CHECKSUMTYPE for element dmdSec/mdRef. ERROR if it does not exists. There is a dependency to CSIP29, since this attribute hold the value of the checksumtype for the linked file. The tests that check if checksumtype and checksum is correct can be found in CSIP29.
Rules
-
Rule ID: 1
Descripton: If dmdSec/mdRef-element is present there MUST be a CHECKSUMTYPE-attribute
ERROR: mets/dmdSec/mdRef/@CHECKSUMTYPE does not exist in METS.xml. @CHECKSUMTYPE is a mandatory attribute according to CS IP if the mdRef-element is present.
Packages:
IP_18000_CSIP30_1
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.82s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.36s True E-ARK Python Validator v1.1.3 1 invalid 0.36s False