Test Case CSIP28
CSIP28
Testable: TRUE Schema Valid: Valid Description: File creation date - dmdSec/mdRef/@created - The date the linked file was created. It has cardinality '1..1' and level 'MUST' in CSIP. It is optional according to its XML Schema. Rule needed for the existence of the attribute CREATED for element dmdSec/mdRef. ERROR if it does not exists. There is no need for a check for blank or NULL values in the attribute since the mets schema will only tolerate dateTime values
Rules
-
Rule ID: 1
Descripton: If dmdSec/mdRef-element is present there MUST be at CREATED-attribute
ERROR: mets/dmdSec/mdRef/@CREATED does not exist in METS.xml. @CREATED is a mandatory attribute according to CSIP.
Packages:
IP_18000_CSIP28_1
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.94s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.11s True E-ARK Python Validator v1.1.3 0 invalid 0.40s True