Skip to content

Commit 35c250b

Browse files
committed
minor change to spec v2
1 parent 1f32d1f commit 35c250b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/spec/v2.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ keys like 'foo/bar/0.0', 'foo/bar/0.1', etc.
169169
To ensure consistent behaviour across different storage systems, logical paths
170170
MUST be normalized as follows:
171171

172-
* Replace all backward slash characters ('\') with forward slash characters
172+
* Replace all backward slash characters ('\\') with forward slash characters
173173
('/')
174174
* Strip any leading '/' characters
175175
* Strip any trailing '/' characters
@@ -180,8 +180,8 @@ The key prefix is then obtained by appending a single '/' character to the
180180
normalized logical path.
181181

182182
After normalization, if splitting a logical path by the '/' character results
183-
in any path segment equal to the string '.' or the string '..', an error MUST
184-
be raised.
183+
in any path segment equal to the string '.' or the string '..' then an error
184+
MUST be raised.
185185

186186
N.B., how the underlying array store processes requests to store values under
187187
keys containing the '/' character is entirely up to the store implementation
@@ -202,7 +202,12 @@ if the 'foo/bar/.zgroup' key exists in the store.
202202
If the user requests a group to be created under some logical path, then groups
203203
MUST also be created at all ancestor paths. E.g., if the user requests group
204204
creation at path 'foo/bar' then groups MUST be created at path 'foo' and the
205-
root of the store.
205+
root of the store, if they don't already exist.
206+
207+
If the user requests an array to be created under some logical path, then
208+
groups MUST also be created at all ancestor paths. E.g., if the user requests
209+
array creation at path 'foo/bar/baz' then groups must be created at path
210+
'foo/bar', path 'foo', and the root of the store, if they don't already exist.
206211

207212
The group metadata resource is a JSON object. The following keys MUST be present
208213
within the object:

0 commit comments

Comments
 (0)