-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
355 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,23 @@ | ||
Conformance | ||
=========== | ||
|
||
``ocfl-py`` is designed to follow closely the OCFL specifications. | ||
``ocfl-py`` is designed to follow closely the OCFL specifications, which | ||
includes reporting errors in response to violations of MUST and MUST NOT | ||
requirements in the specification, and warnings in response to not following | ||
SHOULD or SHOULD NOT requirements in the specification (see the `Conformance | ||
<https://ocfl.io/1.1/spec/#conformance>`_ section). | ||
|
||
The following is list of error and warning codes implemented but the ``ocfl-py`` | ||
package. The complete list `OCFL Validation Codes | ||
<https://ocfl.io/1.1/spec/validation-codes.html>`_ is provided as part of the | ||
OCFL specifications. | ||
package: | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
validation_status | ||
|
||
(The validation status table is generated by the `ocfl-validate.py` script | ||
The complete list `OCFL Validation Codes | ||
<https://ocfl.io/1.1/spec/validation-codes.html>`_ is provided as part of the | ||
OCFL specifications. | ||
|
||
(The validation status table is generated by the `extract_codes.py` script | ||
run against the ``ocfl`` module.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
extra_fixtures/1.1/bad-objects/E038_type_not_str/0=ocfl_object_1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ocfl_object_1.1 |
15 changes: 15 additions & 0 deletions
15
extra_fixtures/1.1/bad-objects/E038_type_not_str/inventory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"digestAlgorithm": "sha512", | ||
"head": "v1", | ||
"id": "http://example.org/E038_type_not_str", | ||
"manifest": { }, | ||
"type": [ "THIS IS AN ARRAY NOT JUST A STRING" ], | ||
"versions": { | ||
"v1": { | ||
"created": "2019-01-01T02:03:04Z", | ||
"message": "One version and no content", | ||
"state": { }, | ||
"user": { "address": "mailto:[email protected]", "name": "Person A" } | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
extra_fixtures/1.1/bad-objects/E038_type_not_str/inventory.json.sha512
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6cdd5082fe06fa39d31627c05c09dcab4e32dc4d00caaf4c436129402b37daae1e938b3e0e3ee1b02dd09764fd3fd7e4ffa918657f4df57a7da879382df537f8 inventory.json |
15 changes: 15 additions & 0 deletions
15
extra_fixtures/1.1/bad-objects/E038_type_not_str/v1/inventory.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"digestAlgorithm": "sha512", | ||
"head": "v1", | ||
"id": "http://example.org/E038_type_not_str", | ||
"manifest": { }, | ||
"type": [ "THIS IS AN ARRAY NOT JUST A STRING" ], | ||
"versions": { | ||
"v1": { | ||
"created": "2019-01-01T02:03:04Z", | ||
"message": "One version and no content", | ||
"state": { }, | ||
"user": { "address": "mailto:[email protected]", "name": "Person A" } | ||
} | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
extra_fixtures/1.1/bad-objects/E038_type_not_str/v1/inventory.json.sha512
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
6cdd5082fe06fa39d31627c05c09dcab4e32dc4d00caaf4c436129402b37daae1e938b3e0e3ee1b02dd09764fd3fd7e4ffa918657f4df57a7da879382df537f8 inventory.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.