Test Case CSIP53
CSIP53
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: MIMETYPE is an optional attribute in METS but a mandatory attribute in CSIP. The values in the attribute are by the METS schema defined as string and it is actually possible according to the schema to put anything in this attribute. In the METS schema this is the documentation: "MIMETYPE (string/O): The IANA MIME media type for the associated file or wrapped content. Some values for this attribute can be found on the IANA website." In the CSIP it is my interpretation that the values has to be taken from the website.
Rules
-
Rule ID: 1
Descripton: A MIMETYPE-attribute MUST be present in the mdRef-element
ERROR: A MIMETYPE-attribute MUST be present in the mdRef-element
Packages:
mdRef_missing_MIMETYPE
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.91s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.28s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True 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 0.99s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.27s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 2
Descripton: The value MUST be taken from the IANA list. (This rule might be out of scope)
ERROR: The value MUST be taken from the IANA list https://www.iana.org/assignments/media-types/media-types.xhtml
Packages:
mdRef_wrong_MIMETYPE
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.91s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.26s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False 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 0.99s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.27s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False -
Rule ID: 3
Descripton: MIMETYPE values should not be more than 256 characters long
ERROR: MIMETYPE values should not be more than 256 characters long - is the value actually a MIMETYPE?
Packages:
mdRef_MIMETYPE_too_much_content
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.98s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.28s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False 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 0.99s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.27s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False