Message Text
Directory URI path must end with '/'
Cause
The path part of the directory URI provided to xdmp:directory-create
or xdmp:directory-delete
does not end in with a '/'. For example:
xdmp:directory-create("the_dir")
Response
Correct the code by adding a '/' to the end of the path part of the directory URI. For example:
xdmp:directory-create("the_dir/")