@@ -67,10 +67,10 @@ $graph:
67
67
- name : location
68
68
type : string?
69
69
doc : |
70
- A URI that identifies the file resource. This may be a relative
71
- reference, in which case it must be resolved using the base URI of the
70
+ An IRI that identifies the file resource. This may be a relative
71
+ reference, in which case it must be resolved using the base IRI of the
72
72
document. The location may refer to a local or remote resource; the
73
- implementation must use the URI to retrieve file content. If an
73
+ implementation must use the IRI to retrieve file content. If an
74
74
implementation is unable to retrieve the file content stored at a
75
75
remote resource (due to unsupported protocol, access denied, or other
76
76
issue) it must signal an error.
@@ -98,6 +98,14 @@ $graph:
98
98
As a special case, if the `path` field is provided but the `location`
99
99
field is not, an implementation may assign the value of the `path`
100
100
field to `location`, and remove the `path` field.
101
+
102
+ If the `path` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
103
+ (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
104
+ `<space>`, `<tab>`, and `<newline>`) or characters
105
+ [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
106
+ for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
107
+ then implementations may terminate the process with a
108
+ `permanentFailure`.
101
109
jsonldPredicate :
102
110
" _id " : " cwl:path"
103
111
" _type " : " @id"
@@ -175,7 +183,7 @@ $graph:
175
183
_type : " @id"
176
184
identity : true
177
185
doc : |
178
- The format of the file. This must be a URI of a concept node that
186
+ The format of the file. This must be a IRI of a concept node that
179
187
represents the file format, preferrably defined within an ontology.
180
188
If no ontology is available, file formats may be tested by exact match.
181
189
@@ -223,11 +231,11 @@ $graph:
223
231
- name : location
224
232
type : string?
225
233
doc : |
226
- A URI that identifies the directory resource. This may be a relative
227
- reference, in which case it must be resolved using the base URI of the
234
+ An IRI that identifies the directory resource. This may be a relative
235
+ reference, in which case it must be resolved using the base IRI of the
228
236
document. The location may refer to a local or remote resource. If
229
237
the `listing` field is not set, the implementation must use the
230
- location URI to retrieve directory listing. If an implementation is
238
+ location IRI to retrieve directory listing. If an implementation is
231
239
unable to retrieve the directory listing stored at a remote resource (due to
232
240
unsupported protocol, access denied, or other issue) it must signal an
233
241
error.
@@ -250,6 +258,14 @@ $graph:
250
258
must not be used in any other context. The command line tool being
251
259
executed must be able to to access the directory at `path` using the POSIX
252
260
`opendir(2)` syscall.
261
+
262
+ If the `path` contains [POSIX shell metacharacters](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02)
263
+ (`|`,`&`, `;`, `<`, `>`, `(`,`)`, `$`,`` ` ``, `\`, `"`, `'`,
264
+ `<space>`, `<tab>`, and `<newline>`) or characters
265
+ [not allowed](http://www.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.xhtml)
266
+ for [Internationalized Domain Names for Applications](https://tools.ietf.org/html/rfc6452)
267
+ then implementations may terminate the process with a
268
+ `permanentFailure`.
253
269
jsonldPredicate :
254
270
_id : " cwl:path"
255
271
_type : " @id"
@@ -349,7 +365,7 @@ $graph:
349
365
doc : |
350
366
Only valid when `type: File` or is an array of `items: File`.
351
367
352
- For input parameters, this must be one or more URIs of a concept nodes
368
+ For input parameters, this must be one or more IRIs of a concept nodes
353
369
that represents file formats which are allowed as input to this
354
370
parameter, preferrably defined within an ontology. If no ontology is
355
371
available, file formats may be tested by exact match.
@@ -675,8 +691,7 @@ $graph:
675
691
doc : " A long, human-readable description of this process object."
676
692
- name : cwlVersion
677
693
type :
678
- - " null"
679
- - " #CWLVersions"
694
+ - CWLVersions
680
695
doc : " CWL document version"
681
696
jsonldPredicate :
682
697
" _id " : " cwl:cwlVersion"
@@ -713,7 +728,7 @@ $graph:
713
728
doc : |
714
729
This field consists of an array of type definitions which must be used when
715
730
interpreting the `inputs` and `outputs` fields. When a `type` field
716
- contain a URI , the implementation must check if the type is defined in
731
+ contain a IRI , the implementation must check if the type is defined in
717
732
`schemaDefs` and use that definition. If the type is not found in
718
733
`schemaDefs`, it is an error. The entries in `schemaDefs` must be
719
734
processed in the order listed such that later schema definitions may refer
0 commit comments