Test Case SIP6
SIP6
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] MAY exist. If mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] exists then it MUST have a text node with a reference to a previous submission agreement associated with the package.
Rules
-
Rule ID: 1
Descripton: mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] MAY exist.
INFO: mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] does not exist. MAY be: mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] exists and its text is a reference to a previous submission agreement associated with the package.
Packages:
altRecordID_PREVIOUSSUBMISSIONAGREEMENT_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.88s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.91s False E-ARK Python Validator v1.1.3 0 invalid 0.40s False minimal_SIP_PREVIOUSSUBMISSIONAGREEMENT_1_instance
Expected result: Valid
Validator Version Ret Code Valid Duration Contains Code minimal_SIP_plus_mets_SHOULD_MAY_items
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 3.00s True E-ARK Python Validator v1.1.3 0 invalid 0.40s True -
Rule ID: 2
Descripton: If mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] exists then it MUST have a text node.
INFO: mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] element has no text node. MUST be: if mets/metsHdr/altRecordID[@TYPE='PREVIOUSSUBMISSIONAGREEMENT'] exists then it MUST have a text node with a reference to a previous submission agreement associated with the package.
Packages:
altRecordID_PREVIOUSSUBMISSIONAGREEMENT_no_text
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.92s False E-ARK Python Validator v1.1.3.dev7 0 invalid 3.01s True E-ARK Python Validator v1.1.3 0 invalid 0.43s True minimal_SIP_plus_mets_SHOULD_MAY_items
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 3.00s True E-ARK Python Validator v1.1.3 0 invalid 0.40s True