Test Case CSIP64
CSIP64
Testable: TRUE Schema Valid: invalid XML Validation Error: Element 'package', attribute 'isImplemented': The attribute 'isImplemented' is not allowed. Description: For each mets/fileSec/fileGrp that exists, mets/fileSec/fileGrp/@USE MUST exist. mets/fileSec/fileGrp/@USE value MUST begin with or equal to a value from VocabularyFileGrpAndStructMapDivisionLabel. mets/fileSec/fileGrp/@USE value MUST match an existing folder path in the package, case insensitive.
Rules
-
Rule ID: 1
Descripton: For each mets/fileSec/fileGrp that exists, mets/fileSec/fileGrp/@USE MUST exist.
ERROR: mets/fileSec/fileGrp/@USE attribute does not exist. MUST be: For each mets/fileSec/fileGrp that exists, mets/fileSec/fileGrp/@USE MUST exist.
Packages:
fileGrp_USE_not_exist
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.95s 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 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.83s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 2
Descripton: mets/fileSec/fileGrp/@USE value MUST begin with or equal to a value from VocabularyFileGrpAndStructMapDivisionLabel.
ERROR: mets/fileSec/fileGrp/@USE attribute has incorrect value. MUST be: mets/fileSec/fileGrp/@USE value MUST begin with or equal to a value from VocabularyFileGrpAndStructMapDivisionLabel.
Packages:
fileGrp_USE_vocabulary_mismatch
Expected result: invalid
Validator Version Ret Code Valid Duration Contains Code Commons IP Validator v2.10.0 0 invalid 0.91s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.82s True E-ARK Python Validator v1.1.3 0 invalid 0.38s False 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.83s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False -
Rule ID: 3
Descripton: mets/fileSec/fileGrp/@USE value MUST match an existing folder path in the package, case insensitive.
ERROR: mets/fileSec/fileGrp/@USE attribute has incorrect value. MUST be: mets/fileSec/fileGrp/@USE value MUST match an existing folder path in the package, case insensitive.
Packages:
fileGrp_USE_folder_mismatch
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 3.00s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False 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.83s False E-ARK Python Validator v1.1.3.dev7 0 invalid 2.79s False E-ARK Python Validator v1.1.3 0 invalid 0.38s False