diff --git a/draft/spec/index.html b/draft/spec/index.html index 5448a99c..1ed0daf0 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -656,8 +656,20 @@

Manifest

Object that have content with the given digest. As JSON keys are case sensitive, while digests may not be, there is an additional requirement that each digest value MUST occur only once in the manifest regardless of case. Content paths within a manifest block - MUST be relative to the OCFL Object Root. + MUST be relative to the OCFL Object Root. The following restrictions + avoid ambiguity and provide path safety for clients processing the manifest.

+

Non-normative note: If only one file is stored in the OCFL Object for each digest, fully diff --git a/validation/validation-codes.md b/validation/validation-codes.md index 70b71466..850a3518 100644 --- a/validation/validation-codes.md +++ b/validation/validation-codes.md @@ -84,6 +84,10 @@ | E095 | 'Within a version, logical paths must be unique and non-conflicting, so the logical path for a file cannot appear as the initial part of another logical path.' | https://ocfl.io/draft/spec/#E095 | E096 | 'As JSON keys are case sensitive, while digests may not be, there is an additional requirement that each digest value must occur only once in the manifest regardless of case.' | https://ocfl.io/draft/spec/#E096 | E097 | 'As JSON keys are case sensitive, while digests may not be, there is an additional requirement that each digest value must occur only once in the fixity block for any digest algorithm, regardless of case.' | https://ocfl.io/draft/spec/#E097 +| E098 | 'The content path must be interpreted as a set of one or more path elements joined by a / path separator.' | https://ocfl.io/draft/spec/#E098 +| E099 | '[content] path elements must not be ., .., or empty (//).' | https://ocfl.io/draft/spec/#E099 +| E100 | 'A content path must not begin or end with a forward slash (/).' | https://ocfl.io/draft/spec/#E100 +| E101 | 'Within an inventory, content paths must be unique and non-conflicting, so the content path for a file cannot appear as the initial part of another content path.' | https://ocfl.io/draft/spec/#E101 ## Warnings (corresponding with SHOULD in specification)