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

Manifest digest values MUST match the content digests #458

Merged
merged 4 commits into from
May 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions draft/spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -651,10 +651,10 @@ <h2>Basic Structure</h2>
<h2>Manifest</h2>
<p>
The value of the <code>manifest</code> key is a JSON object, with keys corresponding to the digests
of every content file in all versions of the <a>OCFL Object</a>. The value for each key is an array
containing the <a>content path</a>s of files in the OCFL Object that have content with the
given digest. Content paths within a manifest block <span id="E042">MUST</span> be relative to the
<a>OCFL Object Root</a>.
of every content file in all versions of the <a>OCFL Object</a>. The value for each key
<span id="E092">MUST</span> be an array containing the <a>content path</a>s of files in the OCFL
Object that have content with the given digest. Content paths within a manifest block
<span id="E042">MUST</span> be relative to the <a>OCFL Object Root</a>.
</p>
<blockquote class="informative">
<p>
Expand Down
1 change: 1 addition & 0 deletions validation/validation-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
| E066 | 'Each version block in each prior inventory file must represent the same object state as the corresponding version block in the current inventory file.' | https://ocfl.io/draft/spec/#E066
| E067 | 'The extensions directory must not contain any files, and no sub-directories other than extension sub-directories.' | https://ocfl.io/draft/spec/#E067
| E068 | 'The specific structure and function of the extension, as well as a declaration of the registered extension name must be defined in one of the following locations: The OCFL Extensions repository OR The Storage Root, as a plain text document directly in the Storage Root.' | https://ocfl.io/draft/spec/#E068
| E092 | 'The value for each key in the manifest must be an array containing the content paths of files in the OCFL Object that have content with the given digest.' | https://ocfl.io/draft/spec/#E092
| E093 | 'Where included in the fixity block, the digest values given must match the digests of the files at the corresponding content paths.' | https://ocfl.io/draft/spec/#E093

## Warnings (corresponding with SHOULD in specification)
Expand Down