Yes Jason, you are right, my bad.
I have two guides sitting together (4.2 & 4.1). This is a new feature in ML 4.2 . It worked in Ml 4.2, thanks for your reply Thanks On Mon, Oct 25, 2010 at 5:27 PM, MaranSuku <[email protected]> wrote: > I see this in 4.1 also. Last Revised: 4.1-5, February, 2010 dev_guide.pdf. > > On Mon, Oct 25, 2010 at 5:04 PM, MaranSuku <[email protected]> wrote: > >> >> 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 >> >> > > > -- > Thanks, > SukuMaran > > -- Thanks, SukuMaran
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
