Test Case CSIP104
CSIP104
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: All fileGrps with the @USE="Representations" must also be presented in the structMap. CSIP104 and CSIP119 are intrinsically linked together and therefore is the same testcase.
Rules
-
Rule ID: 1
Descripton: All fileGrps with the @USE="Representations" 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="Representations" must be presented in the structMap via mets/structMap[@LABEL='CSIP']/div/div[@LABEL='Representations']/fptr
Packages:
fileGrp_Representations_but_missing_structMap
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.82s True E-ARK Python Validator v1.1.3 0 invalid 0.37s 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.86s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 2
Descripton: A structMap[@LABEL='CSIP']/div/div[@LABEL='Representations']/fptr must point to a fileGrp with @USE="Representations"
ERROR: The structMap[@LABEL='CSIP']/div/div[@LABEL='Representations']/fptr points to a fileGrp that does not have @USE="Representations"
Packages:
structMap_does_not_point_at_Representations
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.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.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.86s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False