Test Case CSIP15
CSIP15
Testable: TRUE Schema Valid: Valid Description: The mets/metsHdr/agent with @ROLE='CREATOR' MUST have: - mets/metsHdr/agent/note MUST exist. - mets/metsHdr/agent/note MUST exist only once. - mets/metsHdr/agent/note MUST have text content. - mets/metsHdr/agent/note text content MUST record the version of the tool used to create the IP.
Rules
-
Rule ID: 1
Descripton: For the CSIP mandatory agent element, mets/metsHdr/agent/note MUST exist.
ERROR: The CSIP mandatory agent element (i.e. mets/metsHdr/agent[@ROLE='CREATOR']) mets/metsHdr/agent/note does not exist. MUST be: element exists and has text content that records the version of the tool used to create the IP.
Packages:
mets-xml_metsHdr_agent_note_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.89s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.78s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True mets-xml_metsHdr_agent_note_exist
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.94s 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 -
Rule ID: 2
Descripton: For the CSIP mandatory agent element, mets/metsHdr/agent/note MUST exist only once.
ERROR: The CSIP mandatory agent element (i.e. mets/metsHdr/agent[@ROLE='CREATOR']) mets/metsHdr/agent/note exists more than once. MUST be: element exists once and has text content that records the version of the tool used to create the IP.
Packages:
mets-xml_metsHdr_agent_note_2_instances
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.86s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True mets-xml_metsHdr_agent_note_conform.zip
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code -
Rule ID: 3
Descripton: For the CSIP mandatory agent element, mets/metsHdr/agent/note MUST have text content.
ERROR: The CSIP mandatory agent element (i.e. mets/metsHdr/agent[@ROLE='CREATOR']) mets/metsHdr/agent/note has no text content. MUST be: element exists and has text content that records the version of the tool used to create the IP.
Packages:
mets-xml_metsHdr_agent_note_empty
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.88s True E-ARK Python Validator v1.1.3 0 invalid 0.38s True mets-xml_metsHdr_agent_note_conform.zip
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code