Test Case CSIP68
CSIP68
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 file-element
ERROR: A MIMETYPE-attribute MUST be present in the file-element
Packages:
file_missing_MIMETYPE
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.77s True E-ARK Python Validator v1.1.3 0 invalid 0.38s 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.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s False E-ARK Python Validator v1.1.3 0 invalid 0.39s 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:
file_wrong_MIMETYPE
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.86s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.82s False E-ARK Python Validator v1.1.3 0 invalid 0.37s False 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.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s False E-ARK Python Validator v1.1.3 0 invalid 0.39s 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:
file_MIMETYPE_too_much_content
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.93s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.83s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False 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.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False