I am trying to create a Standalone Properties Document, and used the same
sample as provided in the dev_guide.pdf.
I see trouble in executing the same,  the error message says that the
Document Not Found, but per the Guide Standalone properties document
is a properties document at a URI with no coresponding document at that URI
.

Can some one help me with this, Am I doing something wrong.

XQuery :

xquery version "1.0-ml";
xdmp:document-set-properties("/my-props.xml", <my-props/>),
xdmp:document-set-permissions("/my-props.xml",
(xdmp:permission("dls-user", "read"),
xdmp:permission("dls-user", "update")))

*Error Message:*

query evaluated in Documents at file::C:\MarkLogic417\Samples\cq as 1.0-ml
(cq v4.1-7)

[1.0-ml] XDMP-DOCNOTFOUND: xdmp:document-set-properties("/my-props.xml",
<my-props/>) -- Document not found

*Stack trace:*
line 2: 1: xquery version "1.0-ml";
2: xdmp:document-set-properties("/my-props.xml", <my-props/>)
3:


I am on ML 4.1-7 , Windows XP.

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

Reply via email to