The documentation for xdmp:document-delete() says that it deletes a 
document and all its properties *except for the directory property*.

However, the following sequence of queries results in an empty 
properties document (using 7.0-2.3):

xdmp:directory-create("/test/");
xdmp:document-delete("/test/");
xdmp:document-properties("/test/");

with directory creation set to either "manual" or "automatic"

I have a workaround, but I think that is a bug?  However it's in such 
direct contradiction to the documentation that I wonder if I am 
misreading that.

- Mike
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to