Closed ThomasJejkal closed 6 years ago
Hi @ThomasJejkal, thanks for reporting this. This should be implemented in version 5.1.0
To fix this issue, you can add the following code in parseBagInfo
function of BagitProfileDeserializer.java
class
final JsonNode repeatableNode = node.getValue().get("repeatable"); if(repeatableNode != null){ entry.setRepeatable(repeatableNode.asBoolean()); }
According to the BagIt Profile Specification elements listed in BagInfo can have the attribute 'repeatable' if multiple occurences of the according element are allowed.
Despite of the fact, that Metadata allows to hold a list of values for each key, neither BagInfoRequirement contains this value, nor does BagProfileChecker take this property into account while checking the bag.