Test Case CSIP99
CSIP99
Testable: FALSE Schema Valid: Valid Description: CSIP99 seems identical to CSIP97, 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 schema division or more than one schema division are handled in CSIP97. Consequently, there is only one rule left for CSIP99: If the schema division exists, it MUST have @LABEL='Schemas'. This, however, is not reliably testable with algorithms of reasonable complexity. Detecting a schema division that is not marked @LABEL='Schemas' would require analysing indirect indicators (e.g. a structMap/div with references to files in a folder named "schemas"), but these cannot give enough confidence to announce a violation of a MUST rule. In sum, only valid IPs are meaningful for CSIP99 and the requirement is effectively not testable.
Rules
-
Rule ID: 1
Descripton: If the schema division exists, it MUST have @LABEL='Schemas'.
ERROR: If the schema division exists, it MUST have @LABEL='Schemas'.
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.90s 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