Test Case CSIP14
CSIP14
Testable: TRUE Schema Valid: Valid Description: The mets/metsHdr/agent with @ROLE='CREATOR' MUST have: - mets/metsHdr/agent/name MUST exist exactly once. - mets/metsHdr/agent/name MUST have text content. - mets/metsHdr/agent/name text content MUST record the name of the software tool used to create the IP.
Rules
-
Rule ID: 1
Descripton: For the CSIP mandatory agent element, mets/metsHdr/agent/name MUST have text content.
ERROR: The CSIP mandatory agent element (i.e. mets/metsHdr/agent[@ROLE='CREATOR']) mets/metsHdr/agent/name has no text content. MUST be: element exists and has text content that records the name of the software tool used to create the IP.
Packages:
mets-xml_metsHdr_agent_name_empty
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.92s True E-ARK Python Validator v1.1.3.dev7 0 invalid 2.81s True E-ARK Python Validator v1.1.3 0 invalid 0.39s True mets-xml_metsHdr_agent_name_element_missing
Expected result: invalid
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 0.51s False E-ARK Python Validator v1.1.3 0 invalid 0.39s True mets-xml_metsHdr_agent_name_ok
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.96s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.82s False E-ARK Python Validator v1.1.3 0 invalid 0.39s False