The current 4.1 release is 4.1-10 (http://developer.marklogic.com/products/marklogic-server/4.1). If upgrading doesn't resolve the problem, I would contact support.
-- Mike On 5 May 2011, at 15:26 , Mark Boyd wrote: > I’m using version 4.1-6. The output of the query you specified is > (“/published/jsp/configuration/cpf/cpf-log.xml” is the path to the log file): > > (fn:doc("/published/jsp/configuration/cpf/cpf-log.xml"), > fn:doc("/published/jsp/configuration/cpf/cpf-log.xml"), > fn:doc("/published/jsp/configuration/cpf/cpf-log.xml"), ...) > > -----Original Message----- > From: general-boun...@developer.marklogic.com > [mailto:general-boun...@developer.marklogic.com] On Behalf Of Michael Blakeley > Sent: Thursday, May 05, 2011 1:04 PM > To: General MarkLogic Developer Discussion > Subject: Re: [MarkLogic Dev General] fn:doc returning several copies of the > same document > > 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 > > _______________________________________________ > 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