Hi SukuMaran, Just a minor suggestion:
4.2 has only just been released, and you might not want to upgrade yet. In that case it might be interesting to know that you can add properties to folders as well. Those are less likely to interfere with things like searching. Like documents though, they do have to exist. So either have directory creation set to 'auto', or create it manually first.. Kind regards, Geert > drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > MaranSuku > Sent: maandag 25 oktober 2010 23:38 > To: [email protected] > Subject: Re: [MarkLogic Dev General] standalone properties document > > 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
