zimeon / ocfl-py

OCFL tools in Python
MIT License
20 stars 6 forks source link

Catch inconsistent id error #57

Closed zimeon closed 3 years ago

zimeon commented 3 years ago

See https://github.com/OCFL/fixtures/pull/87 in which the id in v1 does not match the id in the root/v2 inventory.

My validator fails to report this error:

(py38) simeon@RottenApple fixtures> ../ocfl-validate.py 1.0/bad-objects/E037_inconsistent_id
INFO:ocfl.object:OCFL object at 1.0/bad-objects/E037_inconsistent_id is VALID
zimeon commented 3 years ago

Fixed in 1.2.2