Test Case CSIP116
CSIP116
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: All fileGrps with the @USE="Documentation" must also be presented in the structMap. CSIP96 and CSIP116 are intrinsically linked together and therefore is the same testcase.
Rules
-
Rule ID: 1
Descripton: All fileGrps with the @USE="Documentation" must also be presented in the structMap
ERROR: All fileGrps with the @USE="Documentation" must be presented in the structMap via mets/structMap[@LABEL='CSIP']/div/div[@LABEL='Documentation']/fptr
Packages:
fileGrp_documentation_but_missing_structMap
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 1 invalid 0.77s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.78s 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.89s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.78s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 2
Descripton: A structMap[@LABEL='CSIP']/div/div[@LABEL='Documentation']/fptr must point to a fileGrp with @USE="Documentation"
ERROR: The structMap[@LABEL='CSIP']/div/div[@LABEL='Documentation']/fptr points to a fileGrp that does not have @USE="Documentation"
Packages:
structMap_does_not_point_at_documentation
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.93s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s True 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.89s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.78s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False