diff --git a/step-file/src/main/xml/specification.xml b/step-file/src/main/xml/specification.xml index b5b683d..f6f12c9 100644 --- a/step-file/src/main/xml/specification.xml +++ b/step-file/src/main/xml/specification.xml @@ -522,20 +522,21 @@ access them, or they may be ignored by some or all steps. dynamic error if p:file-info is not available to the step due to access restrictions in the environment in which the pipeline is run. - If the option is a file: URI, the step returns: + If the option is a file: URI, the step returns a single element with + information about the referenced file system object. These elements an their attributes are the same as returned + by p:directory-list for this file system object (with the set to true): - If option references a file: A c:file element with standard attributes (see - below). + If option references a file: A c:file element with standard attributes. If option references a directory: A c:directory element with standard - attributes (see below). + attributes. If option references any other file system object: Implementation defined (for example - an c:other or c:device element). It is advised to use the standard attributes (see below) - if applicable. + an c:other or c:device element). The advice is to use the standard attributes of c:file + and/or c:directory if applicable. @@ -544,61 +545,7 @@ access them, or they may be ignored by some or all steps. option of p:archive-manifest and p:unarchive (see ), except that the regular expression matching is done against the absolute URI of the file. - - Each of the elements c:file, c:directory, - and c:other has a name attribute, whose - value is a relative IRI reference, giving the (local) file or - directory name. - The following attributes are standard on a returned c:file or c:directory element. All - attributes are optional and must be absent if not applicable. Additional implementation-defined attributes may be - present, but they must be in a namespace. - - - - - - - Attribute - Type - Description - - - - - readable - xs:boolean - true if the object is readable. - - - writable - xs:boolean - true if the object file is writable. - - - hidden - xs:boolean - true if the object is hidden. - - - last-modified - xs:dateTime - The last modification time of the object expressed in UTC. - - - size - xs:integer - The size of the object in bytes. - - - content-type - xs:string - The content type, if the object is a file. - - - - - If an error occurs and is false, the step returns a c:error element which may contain additional, implementation-defined, information about the nature of the error.