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
Is the MIMETYPE attribute realy mandatory for <mets:file>
java.lang.IllegalArgumentException: MIMETYPE or ID of a mets:file must not be null
at org.mycore.mets.model.Mets.createFileSec(Mets.java:420)
at org.mycore.mets.model.Mets.<init>(Mets.java:140)
at org.mycore.mets.iiif.MCRMetsMods2IIIFConverter.<init>(MCRMetsMods2IIIFConverter.java:89)
from org.mycore.mets.model.Mets:
for (Element aFile : filesXP.evaluate(aFileGroup)) {
String id = aFile.getAttributeValue("ID");
String mimeType = aFile.getAttributeValue("MIMETYPE");
if (id == null || mimeType == null) {
throw new IllegalArgumentException("MIMETYPE or ID of a mets:file must not be null");
}
}
The text was updated successfully, but these errors were encountered:
Is the MIMETYPE attribute realy mandatory for
<mets:file>
from
org.mycore.mets.model.Mets
:The text was updated successfully, but these errors were encountered: