From 82e7bc62d3eeae2608768dda79d8a80e50fbf107 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 31 Jul 2024 12:25:04 +0100 Subject: [PATCH] Editorial pass on file steps --- step-file/src/main/xml/specification.xml | 51 ++++++++++++++---------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/step-file/src/main/xml/specification.xml b/step-file/src/main/xml/specification.xml index f2a5005..455f53b 100644 --- a/step-file/src/main/xml/specification.xml +++ b/step-file/src/main/xml/specification.xml @@ -91,6 +91,9 @@ mechanisms. access them, or they may be ignored by some or all steps. +
+Step library +
p:directory-list @@ -175,12 +178,12 @@ access them, or they may be ignored by some or all steps. included this way, none of their other entires are included unless they match an include filter. - - Sample Directory List Output for a Single File - For a file a/a/b/file.txt below the initial directory - /home/jane, this output will be produced, omitting content that might be present in the - intermediate directories: - <c:directory xml:base="file:///home/jane/" name="jane"> + For a file a/a/b/file.txt below the initial + directory /home/jane, this output will be produced, + omitting content that might be present in the intermediate + directories: + + <c:directory xml:base="file:///home/jane/" name="jane"> <c:directory xml:base="a/" name="a"> <c:directory xml:base="a/" name="a"> <c:directory xml:base="b/" name="b"> @@ -188,8 +191,8 @@ access them, or they may be ignored by some or all steps. </c:directory> </c:directory> </c:directory> -</c:directory> - +</c:directory> + If the pattern matches the slash-augmented relative path, the entry (and all of its content in case of a directory) is excluded in the output. If both options are @@ -260,7 +263,7 @@ access them, or they may be ignored by some or all steps. c:directory, it must end in a trailing slash. This way, users will always be able to compute the absolute URI for any of these elements by applying fn:base-uri() to it. -
+ Directory list details If is false, then only the @@ -312,7 +315,7 @@ access them, or they may be ignored by some or all steps. Any other attributes on c:file, c:directory, or c:other are implementation-defined, but they must be in a namespace. -
+ Document properties @@ -320,13 +323,6 @@ access them, or they may be ignored by some or all steps. the resulting document has a base-uri. Its value is identical to the top-level element’s xml:base attribute, that is, to the directory’s URI. - - -Errata, April 2024 -Editorial clarifications. Fixed a grammatical error in the description of -include filters. Improved the description of include filter processing. - -
@@ -389,7 +385,7 @@ include filters. Improved the description of include filter processing. -
+ Copying directories If identifies a directory and @@ -412,7 +408,7 @@ include filters. Improved the description of include filter processing. -
+ Document properties @@ -553,8 +549,10 @@ include filters. Improved the description of include filter processing. 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 @@ -890,6 +888,7 @@ or exists and cannot be accessed. apart from content-type. In particular, it has no base-uri.
+
Step Errors @@ -941,6 +940,18 @@ failure causes the entire pipeline to fail. + +Change log + +This appendix catalogs recent non-editorial changes. + + + +Improved the description of include filter processing in p:directory-list. + + + +