Ok. So did static analysis not detect that the code should run as an update 
query because the xdmp:document-insert call was on the other side of the 
xdmp:apply call? I'm thinking this is a new thing I've got to be on the lookout 
for.

From: jhun...@marklogic.com
Date: Fri, 29 Jul 2011 14:19:32 -0700
To: general@developer.marklogic.com
Subject: Re: [MarkLogic Dev General] Cannot apply an update function from a     
query



On Jul 29, 2011, at 2:08 PM, seme...@hotmail.com wrote:Am I going to have to 
xdmp:eval or xdmp:invoke the function and declare it to be in a separate 
transaction?
Yes.  You can eval or invoke the function or the apply of the function.
-jh-

_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general                         
                  
_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to