Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fixture for invalid content dir #82

Merged
merged 1 commit into from
Apr 25, 2021

Conversation

pwinckles
Copy link
Contributor

Fixture for invalid content directory

@zimeon
Copy link
Collaborator

zimeon commented Apr 20, 2021

(py38) simeon@RottenApple fixtures> ../ocfl-validate.py 1.0/bad-objects/E017_invalid_content_dir
[E018] Content directory must not contain a forward slash (/) or be . or .. (see https://ocfl.io/1.0/spec/#E018)
INFO:ocfl.object:OCFL object at 1.0/bad-objects/E017_invalid_content_dir is INVALID

@zimeon
Copy link
Collaborator

zimeon commented Apr 20, 2021

I agree that the error here should be E017 because it is the forward slash in

  "contentDirectory": "content/dir",

that is the problem.

@awoods awoods merged commit b93c6bf into OCFL:main Apr 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants