ulb-sachsen-anhalt / digital-derivans

Derive new digitals from existing ones
MIT License
6 stars 2 forks source link

Invalid Kitodo3-METS after adding derivans-agent #56

Closed M3ssman closed 11 months ago

M3ssman commented 11 months ago

Description

METS exported from Kitodo3 contains nowadays the element mets:metsDocumentID which holds the local DB-process ID as first child element. This isn't the case with Kitodo2 or VLS.

If derivans adds it's agent entry to the mets:metsHdr, it just appends this element as last child. This was no problem if only other agent-mark were present. But with Kitodo3 it results in schema invalid METS, since the METS specification expects agent elements to precede all other header children.