From efe65d0ba078cd5284ecab992a1191117995f5fe Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Tue, 19 Oct 2021 13:53:52 +0100 Subject: [PATCH 1/8] Update index.html --- draft/spec/index.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index 3ccc536..53c6fec 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -908,10 +908,12 @@

Version Inventory and Inventory Digest

Every OCFL Object MUST have an inventory file within the OCFL Object Root, corresponding to the state of the OCFL Object at the current version. Additionally, every version directory SHOULD include an inventory file that is an Inventory of - all content for versions up to and including that particular version. Where an OCFL Object contains - inventory.json in version directories, the inventory file in the OCFL Object Root - MUST be the same as the file in the most recent version. See also requirements for - the corresponding Inventory Digest. + all content for versions up to and including that particular version. In the case where no files have been + added or updated in a given version, resulting in an empty and therefore absent "content" directory + (see https://ocfl.io/1.0/spec/#content-directory), such a version directory MUST + include an inventory file. Where an OCFL Object contains inventory.json in version directories, + the inventory file in the OCFL Object Root MUST be the same as the file in the most + recent version. See also requirements for the corresponding Inventory Digest.

In the case that prior version directories include an inventory file there will be multiple inventory From cbe2c88588e1811e68cdd30992df187ce5832a36 Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Tue, 19 Oct 2021 13:58:34 +0100 Subject: [PATCH 2/8] Update index.html Added Validation Error code --- draft/spec/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index 53c6fec..2f9c341 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -910,7 +910,7 @@

Version Inventory and Inventory Digest

SHOULD include an inventory file that is an Inventory of all content for versions up to and including that particular version. In the case where no files have been added or updated in a given version, resulting in an empty and therefore absent "content" directory - (see https://ocfl.io/1.0/spec/#content-directory), such a version directory MUST + (see https://ocfl.io/1.0/spec/#content-directory), such a version directory MUST include an inventory file. Where an OCFL Object contains inventory.json in version directories, the inventory file in the OCFL Object Root MUST be the same as the file in the most recent version. See also requirements for the corresponding Inventory Digest. From b46fa68c3ebdcab0931051b6e7b001ff5a82ac9f Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Tue, 19 Oct 2021 14:02:17 +0100 Subject: [PATCH 3/8] Update validation-codes.md Added text for E109 --- draft/spec/validation-codes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/draft/spec/validation-codes.md b/draft/spec/validation-codes.md index 783b5d5..7d33eba 100644 --- a/draft/spec/validation-codes.md +++ b/draft/spec/validation-codes.md @@ -117,6 +117,7 @@ | E105 | 'The version number MUST be taken from the sequence of positive, base-ten integers: 1, 2, 3, etc.' | https://ocfl.io/draft/spec/#E105 | E106 | 'The value of the manifest key MUST be a JSON object.' | https://ocfl.io/draft/spec/#E106 | E107 | 'The value of the manifest key must be a JSON object, and each key MUST correspond to a digest value key found in one or more state blocks of the current and/or previous version blocks of the OCFL Object.' | https://ocfl.io/draft/spec/#E107 +| E109 | 'When no files have been added or updated in a given version, resulting in an empty and therefore absent "content" directory, the version directory MUST include an inventory file.' | https://ocfl.io/draft/spec/#E109 ## Warnings (corresponding with SHOULD in specification) From f29e36aec921aea399cb9cf410cc8c20a1611078 Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Tue, 19 Oct 2021 14:03:52 +0100 Subject: [PATCH 4/8] Update index.html Amended text to match Error message --- draft/spec/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index 2f9c341..e550fd7 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -908,9 +908,9 @@

Version Inventory and Inventory Digest

Every OCFL Object MUST have an inventory file within the OCFL Object Root, corresponding to the state of the OCFL Object at the current version. Additionally, every version directory SHOULD include an inventory file that is an Inventory of - all content for versions up to and including that particular version. In the case where no files have been + all content for versions up to and including that particular version. In the case when no files have been added or updated in a given version, resulting in an empty and therefore absent "content" directory - (see https://ocfl.io/1.0/spec/#content-directory), such a version directory MUST + (see https://ocfl.io/1.0/spec/#content-directory), the version directory MUST include an inventory file. Where an OCFL Object contains inventory.json in version directories, the inventory file in the OCFL Object Root MUST be the same as the file in the most recent version. See also requirements for the corresponding Inventory Digest. From 38ae0017b1ce0c37b57a9a789a61c6fef9b357ed Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Tue, 19 Oct 2021 14:17:21 +0100 Subject: [PATCH 5/8] Update index.html --- draft/spec/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index e550fd7..42baeb2 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -909,9 +909,9 @@

Version Inventory and Inventory Digest

corresponding to the state of the OCFL Object at the current version. Additionally, every version directory SHOULD include an inventory file that is an Inventory of all content for versions up to and including that particular version. In the case when no files have been - added or updated in a given version, resulting in an empty and therefore absent "content" directory - (see https://ocfl.io/1.0/spec/#content-directory), the version directory MUST - include an inventory file. Where an OCFL Object contains inventory.json in version directories, + added or updated in a given version, resulting in an empty and therefore absent + "content" directory, the version directory MUST + include an inventory file. Where an OCFL Object contains inventory.json in version directories, the inventory file in the OCFL Object Root MUST be the same as the file in the most recent version. See also requirements for the corresponding Inventory Digest.

From 350615facdc2844ab8d71bb68b079b35f7a469c7 Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Tue, 19 Oct 2021 14:23:06 +0100 Subject: [PATCH 6/8] Update index.html --- draft/spec/index.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index 42baeb2..28aa181 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -911,9 +911,10 @@

Version Inventory and Inventory Digest

all content for versions up to and including that particular version. In the case when no files have been added or updated in a given version, resulting in an empty and therefore absent "content" directory, the version directory MUST - include an inventory file. Where an OCFL Object contains inventory.json in version directories, - the inventory file in the OCFL Object Root MUST be the same as the file in the most - recent version. See also requirements for the corresponding Inventory Digest. + include an inventory file. Where an OCFL Object contains inventory.json in version + directories, the inventory file in the OCFL Object Root MUST be the same as the + file in the most recent version. See also requirements for the corresponding + Inventory Digest.

In the case that prior version directories include an inventory file there will be multiple inventory From 912767b179656e498af69500030f25d795db4515 Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Wed, 10 Nov 2021 11:51:15 +0000 Subject: [PATCH 7/8] Update index.html --- draft/spec/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/draft/spec/index.html b/draft/spec/index.html index dd216ca..d3d2d85 100644 --- a/draft/spec/index.html +++ b/draft/spec/index.html @@ -911,10 +911,10 @@

Version Inventory and Inventory Digest

Every OCFL Object MUST have an inventory file within the OCFL Object Root, corresponding to the state of the OCFL Object at the current version. Additionally, every version directory SHOULD include an inventory file that is an Inventory of - all content for versions up to and including that particular version. In the case when no files have been - added or updated in a given version, resulting in an empty and therefore absent - "content" directory, the version directory MUST - include an inventory file. Where an OCFL Object contains inventory.json in version + all content for versions up to and including that particular version. In the case where no files have been + added or updated in a given version, resulting in an empty or absent + content directory, the version directory MUST + still include an inventory file. Where an OCFL Object contains inventory.json in version directories, the inventory file in the OCFL Object Root MUST be the same as the file in the most recent version. See also requirements for the corresponding Inventory Digest. From f940b003f214150e8368295b1f408a44213609a5 Mon Sep 17 00:00:00 2001 From: neilsjefferies <37909475+neilsjefferies@users.noreply.github.com> Date: Wed, 10 Nov 2021 11:52:11 +0000 Subject: [PATCH 8/8] Update validation-codes.md --- draft/spec/validation-codes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft/spec/validation-codes.md b/draft/spec/validation-codes.md index eaac28c..32e33c4 100644 --- a/draft/spec/validation-codes.md +++ b/draft/spec/validation-codes.md @@ -118,7 +118,7 @@ | E106 | 'The value of the manifest key MUST be a JSON object.' | https://ocfl.io/draft/spec/#E106 | E107 | 'The value of the manifest key must be a JSON object, and each key MUST correspond to a digest value key found in one or more state blocks of the current and/or previous version blocks of the OCFL Object.' | https://ocfl.io/draft/spec/#E107 | E108 | 'The contentDirectory value MUST represent a direct child directory of the version directory in which it is found.' | https://ocfl.io/draft/spec/#E108 -| E109 | 'When no files have been added or updated in a given version, resulting in an empty and therefore absent "content" directory, the version directory MUST include an inventory file.' | https://ocfl.io/draft/spec/#E109 +| E109 | 'Where no files have been added or updated in a given version, resulting in an empty or absent content directory, the version directory MUST still include an inventory file.' | https://ocfl.io/draft/spec/#E109 | E110 | 'A unique identifier for the OCFL Object MUST NOT change between versions of the same object.' | https://ocfl.io/draft/spec/#E110 ## Warnings (corresponding with SHOULD in specification)