Hi Guys,
In our organization, we are using Marklogic and I wondering if Marklogic 
supports "optimistic locking". Mainly when the same document is being updated 
by more than one user, optimistic locking is the best way to implement.

If Marklogic supports the "Optimistic Locking", could you please send me a 
sample of java code with XQuery which supports "Optimistic Locking".

Thanks,
Raman
----- Original Message -----
From: Danny Sokolsky
Sent: 04/22/14 03:00 PM
To: Florent Georges, MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Function sem:rdf-load() not defined?

Hi Florent,
Did you import the library:
import module namespace sem = "http://marklogic.com/semantics"; 
 at "/MarkLogic/semantics.xqy";
?
-Danny

From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com]  *On Behalf Of *Florent Georges
 *Sent:* Tuesday, April 22, 2014 11:50 AM
 *To:* MarkLogic General ML
 *Subject:* [MarkLogic Dev General] Function sem:rdf-load() not defined?

 Hi,

 I use 7.0-2.3, and try to evaluate in QConsole the following query:
sem:rdf-load('/some/path/triples.ttl'). The error I get is: "[1.0-ml]
XDMP-UNDFUN: (err:XPST0017) Undefined function sem:rdf-load()." The
function is documented there: https://docs.marklogic.com/sem:rdf-load .
Using 2 parameters: sem:rdf-load('/some/path/triples.ttl', 'turtle')
does not help.

 Am I missing the obvious here? Regards,

--
Florent Georges
http://fgeorges.org/ 
http://h2oconsulting.be/
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to