diff --git a/steps/src/main/xml/steps/archive.xml b/steps/src/main/xml/steps/archive.xml index 2b5b00e..ca138ee 100644 --- a/steps/src/main/xml/steps/archive.xml +++ b/steps/src/main/xml/steps/archive.xml @@ -27,8 +27,8 @@ must support the format, specified with the value zip. It is implementation-defined what other formats are supported. - The can be used to supply parameters to control the archiving. The semantics of the - keys and the allowed values for these keys are implementation-defined. + The can be used to supply parameters to control the archiving. The semantics + of the keys and the allowed values for these keys are implementation-defined. It is a dynamic error if the map contains an entry whose key is defined by the implementation and whose value is not valid for that key. @@ -63,6 +63,10 @@ specified as a relative path. The optional href attribute is interpreted as follows: + + It is a dynamic error if the attribute is + present and its value is not a valid xs:anyURI. + When the c:file elements has any child nodes, it is ignored. @@ -74,8 +78,7 @@ If the above doesn't apply, the value of the href attribute is interpreted as a URI and the document is loaded from this. - It is a dynamic error if in this case the - attribute value is not a valid xs:anyURI. + It is a dynamic error if the resource referenced by the option does not exist, cannot be accessed or is not a file If the option is relative, it is made absolute against the base URI of the @@ -94,10 +97,10 @@ When the c:file element has any child nodes this is taken as the contents of the archive's entry. The href attribute is ignored in this case. - + The p:archive step should strive to retain the order of the c:file elements when - constructing the archive. For instance, an e-book in EPub format has a non-compressed entry that must be - first in the archive. It should be possible to construct such an archive using p:archive. + constructing the archive. For instance, an e-book in EPub format has a non-compressed entry that must be first in + the archive. It should be possible to construct such an archive using p:archive. The c:file elements may contain additional implementation-defined attributes.