Test Case CSIP39
CSIP39
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: MDTYPE is mandatory according to the METS.xsd. And the allowed values are defined in the schema. So this requirement is identical to the requirement in the METS schema. Existence of mandatory attribute and check of valid values handled by XML Schema Validation, thus no need for invalid test packages.
Rules
-
Rule ID: 1
Descripton: The MDTYPE attribute must exist
ERROR: The MDTYPE attribute must exist
Packages:
valid_IP_with_SHOULD_MAY_1_rep
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 1.00s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.22s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False -
Rule ID: 2
Descripton: The value in the MDTYPE attribute must be a valid value according to the schema
ERROR: The value in the MDTYPE attribute must be a valid value according to the schema
Packages:
valid_IP_with_SHOULD_MAY_1_rep
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 1.00s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.22s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False