Scenario: if you use more then one hash algorithm for your bag than the Payload-Oxum is calculated on amount of used hash algorithm. If you use for example two hash algorithm like sha512 and md5 and your bag contain 4 files inside the data directory. In this case the StreamCount value of Payload-Oxum is 8 and not 4. Even more the value of OctetCount is the double size of the correct value.
Reason for this is, that the used payloadFiles contain same data directory entry multiple times.
I can provide a simple correction against master or development branch.
Scenario: if you use more then one hash algorithm for your bag than the
Payload-Oxum
is calculated on amount of used hash algorithm. If you use for example two hash algorithm like sha512 and md5 and your bag contain 4 files inside thedata
directory. In this case theStreamCount
value ofPayload-Oxum
is 8 and not 4. Even more the value ofOctetCount
is the double size of the correct value.Reason for this is, that the used
payloadFiles
contain same data directory entry multiple times.I can provide a simple correction against master or development branch.