zimeon / ocfl-py

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

Catch error case E010_missing_versions #63

Closed zimeon closed 3 years ago

zimeon commented 3 years ago

Currently reported as valid:

> ./ocfl-validate.py fixtures/1.0/bad-objects/E010_missing_versions
[W010] OCFL Object v3 SHOULD have an inventory file but does not (see https://ocfl.io/1.0/spec/#W010)
INFO:ocfl.object:OCFL object at fixtures/1.0/bad-objects/E010_missing_versions is VALID

Some debate about error code https://github.com/OCFL/fixtures/pull/79 but per current spec should fail

zimeon commented 3 years ago

This is actually working fine, there was an empty directory in my local copy that caused confusion