From 6a4eecf22481418fe862016e4b22fcefef7f9d14 Mon Sep 17 00:00:00 2001 From: Simeon Warner Date: Tue, 5 May 2020 17:02:19 -0400 Subject: [PATCH] Manifest digest values MUST match the content digests --- draft/spec/index.html | 8 ++++---- validation/validation-codes.md | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index 6a0cea7a..cd91d785 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -651,10 +651,10 @@

Basic Structure

Manifest

The value of the manifest key is a JSON object, with keys corresponding to the digests - of every content file in all versions of the OCFL Object. The value for each key is an array - containing the content paths of files in the OCFL Object that have content with the - given digest. Content paths within a manifest block MUST be relative to the - OCFL Object Root. + of every content file in all versions of the OCFL Object. The value for each key + MUST be an array containing the content paths of files in the OCFL + Object that have content with the given digest. Content paths within a manifest block + MUST be relative to the OCFL Object Root.

diff --git a/validation/validation-codes.md b/validation/validation-codes.md index 1d64087b..6b5636fd 100644 --- a/validation/validation-codes.md +++ b/validation/validation-codes.md @@ -78,6 +78,8 @@ | 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 ## Warnings (corresponding with SHOULD in specification)