Skip to main content
ExLibris
Ex Libris Knowledge Center

SIPs fail validation with mets rosetta.xsd

  • Product: Rosetta
  • Product Version: 6

Question

Using METS ingest SIPs fail validation with mets_rosetta.xsd with errors like

Failed validation with the following message - java.lang.Exception: XML '/exlibris1/deposit_storage/SubmissionApplicationDeposit/xxxxxx/content/00001740.xml' doesn't pass validation by :mets_rosetta.xsd with the following validation error: cvc-complex-type.3.2.2: Attribute 'id' is not allowed to appear in element 'key'..

Answer

To understand which metadata in the SIP METS.xml might cause this error, see (Rosetta data model), Appendix B – DNX Data Dictionary, column Source.

SIP METS.xml cannot contain the fields that are marked as Source == system.  (For example in generalFileCharacteristics the fileSizeBytes, fileExtension, fileOriginalID, fileLocationType).