You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If metsHdr/agent is present, the validator gives an error:
ERROR: Main METS.xml file is not valid.
This happens with a valid minimal IP that has folders metadata, representations, representations/rep1 and representations/rep1/data and the following METS.xml in the root folder:
Looking at the XML, I'm missing SchemaLocations in the mets-element. You need to have that for getting the extra attributes for the agent.
For the note to be able to have the extra attribute, make sure you are using version 1.12 of METS.
In addition to what @karinbredenberg said, one needs to keep in mind that commons-ip library being used by the rest-ip-validator is still an old version which does not support these new attributes (based on METS version 1.11 and common specification version 0.17).
I'm working on the library during the next weeks in order to turn it common specification version 2 compliant (will use METS version 1.12).
If
metsHdr/agent
is present, the validator gives an error:This happens with a valid minimal IP that has folders
metadata
,representations
,representations/rep1
andrepresentations/rep1/data
and the following METS.xml in the root folder:Full IP as a zip file: valid_minimal_IP.zip
The error disappears when
metsHdr/agent
is removed:Full IP as a zip file: agent_removed.zip
The text was updated successfully, but these errors were encountered: