Test Case CSIP95
CSIP95
Testable: FALSE Schema Valid: Valid Description: CSIP95 seems identical with CSIP93, but the authors of the specification had a distinction in mind: "… the first requirement defines whether the division itself is mandatory, the second defines the required label value," see the issue "Redundancies and incompatible priority levels" at https://github.com/DILCISBoard/E-ARK-CSIP/issues/570. The cases of there being no documentation division or more than one documentation division are handled in CSIP93. Consequently, there is only one rule left for CSIP95: If the documentation division exists, it MUST have @LABEL='Documentation'. This however is not reliably testable with algorithms of reasonable complexity. Detecting a documentation division that is not marked @LABEL='Documentation' would require analysing indirect indicators (e.g. a structMap/div with references to files in /documentation folder), but these cannot give enough confidence to announce a violation of a MUST rule. In sum, only valid IPs are meaningful for CSIP95 and the requirement is effectively not testable.
Rules
-
Rule ID: 1
Descripton: If the documentation division exists, it MUST have @LABEL='Documentation'.
ERROR: If the documentation division exists, it MUST have @LABEL='Documentation'.
Packages:
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.84s False E-ARK Python Validator v1.1.3 0 invalid 0.37s False