Test Case CSIP100
CSIP100
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: All fileGrps with the @USE="Schemas" must also be presented in the structMap. CSIP100 and CSIP118 are intrinsically linked together and therefore is the same testcase.
Rules
-
Rule ID: 1
Descripton: All fileGrps with the @USE="Schemas" must also be presented in the structMap via a fptr-element and an FILEID corresponding to the fileGrp-ID
ERROR: All fileGrps with the @USE="Schemas" must be presented in the structMap via mets/structMap[@LABEL='CSIP']/div/div[@LABEL='Schemas']/fptr
Packages:
fileGrp_Schemas_but_missing_structMap
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.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.89s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False -
Rule ID: 2
Descripton: A structMap[@LABEL='CSIP']/div/div[@LABEL='Schemas']/fptr must point to a fileGrp with @USE="Schemas"
ERROR: The structMap[@LABEL='CSIP']/div/div[@LABEL='Schemas']/fptr points to a fileGrp that does not have @USE="Schemas"
Packages:
structMap_does_not_point_at_Schemas
Expected result: invalid
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.85s False E-ARK Python Validator v1.1.3 0 invalid 0.40s 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.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.89s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False