What version of the server are you using? What does this show?

  xdmp:describe(doc('/path/to/logfile.xml'))

-- Mike

On 5 May 2011, at 11:58 , Mark Boyd wrote:

> I have some code that appends some general log messages to an XML file stored 
> in the database during CPF processing of another database. After CPF has 
> finished, I try to get the document containing the log messages with 
> something like:
>  
> fn:doc(“/path/to/logfile.xml”)
>  
> What I get back is a sequence of the same document, repeated several times. 
> Every time I clear out the database and put the same set of documents through 
> CPF, the number of documents returned subsequently by fn:doc varies.
>  
> If I mount the database via WebDAV, open the logfile, make an arbitrary 
> change, and save it, the number of documents returned subsequently by fn:doc 
> goes back down to the expected one document.
>  
> All of the documents appear to have identical content.
>  
> Does anyone know what could be going on?
>  
>  Alex
> 
> 
> NOTICE: This email message is for the sole use of the intended recipient(s) 
> and may contain confidential and privileged information. Any unauthorized 
> review, use, disclosure or distribution is prohibited. If you are not the 
> intended recipient, please contact the sender by reply email and destroy all 
> copies of the original message.
> 
> _______________________________________________
> 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