Test Case CSIP7
CSIP7
Testable: TRUE Schema Valid: Valid Description: mets/metsHdr/@CREATEDATE MUST exist is optional in the mets schema but mandatory in the CSIP7. A rule therefore has to be set up. mets/metsHdr/@CREATEDATE MUST have a value that is a date. The value in this attribute is parsed against the mets schema to type="xsd:dateTime". A rule is therefore not being set up. mets/metsHdr/@CREATEDATE value MUST be the actual date the package was created. This is not testable.
Rules
-
Rule ID: 1
Descripton: mets/metsHdr/@CREATEDATE MUST exist.
ERROR: mets/metsHdr/@CREATEDATE attribute does not exist. MUST be: attribute exists and has a value that is a date in the format of xsd:dateTime.
Packages:
mets-xml_metsHdr_CREATEDATE_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.90s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.86s True E-ARK Python Validator v1.1.3 0 invalid 0.39s 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.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.93s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False