As written, the validate_bag_info() function would only check a tag for controlled values if that tag was also required. Since the BagIt Profile spec does not seem to indicate that only required tags can have controlled value lists (unless I'm misreading something, which is totally possible) it would seem to make sense to check all tags for the value parameter.
As written, the
validate_bag_info()
function would only check a tag for controlled values if that tag was also required. Since the BagIt Profile spec does not seem to indicate that only required tags can have controlled value lists (unless I'm misreading something, which is totally possible) it would seem to make sense to check all tags for the value parameter.