schema of pointer file not compliant to Mets xsd Version 1121 ?

18 views
Skip to first unread message

romain guedj

unread,
May 10, 2022, 9:28:43 AM5/10/22
to archivematica
Hi All,

We are currently testing archivematica 1.13.2 (through Ansible deployement)

We have noticed an error during the verification of the compliance of the pointer file. 

ERROR 2022-05-10 05:12:49 locations.models.package:package:create_pointer_file:1493: Pointer file constructed for dce4b6b7-f524-4d1f-bcab-cab730c1d58c is not valid.
Schematron Error(s):
1. A techMD mdWrap element must contain a PREMIS object element.
test: m:xmlData/p:object
location: /*[local-name()='mets' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='amdSec' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='techMD' and namespace-uri()='http://www.loc.gov/METS/']/*[local-name()='mdWrap' and namespace-uri()='http://www.loc.gov/METS/']

We have noticed that Pointer file structure is related to a different xsd schema of mets:

Version 1121 (in Archivematica  1.13.2)

<mets:mets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mets="http://www.loc.gov/METS/" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/version1121/mets.xsd">
  <mets:metsHdr CREATEDATE="2022-05-10T12:12:49"/>

and in our current Archivematica instance (1.10.1), 

<mets:mets xmlns:mets="http://www.loc.gov/METS/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/version111/mets.xsd">
  <mets:metsHdr CREATEDATE="2022-05-10T13:08:02"/>

Do you think it creates this error during the verification of the compliance of structure of the pointer file ?

Let me know if we may create a ticket.

Cheers,

Romain

romain guedj

unread,
May 11, 2022, 7:02:27 AM5/11/22
to archivematica
Reply all
Reply to author
Forward
0 new messages