xproc / 3.0-steps

Repository for change requests to the standard step library and for official extension steps
10 stars 7 forks source link

File steps: There seems to be an inconsistency in p:file-delete #510

Closed xml-project closed 2 years ago

xml-project commented 2 years ago

At the beginning the spec says:

The p:file-delete step attempts to delete an existing file or directory named in href. If the named file or directory does not exist, the step just returns a c:result element as described below. But at the end it is said:

It is a dynamic error err:XD0011 if the resource referenced by the href option does not exist, cannot be accessed or is not a file or directory.

To my understanding "does not exist" should be removed from the error description. Did I miss something?