I'm trying to use XQSync to copy a database to a ZIP file. My XQSync
installation is working, and I've succeeded in copying one database with
around 12000 files without a problem. But the database I really want to
copy is producing errors like this:

May 21, 2010 11:32:02 AM com.marklogic.ps.SimpleLogger logException
SEVERE: non-fatal
java.util.concurrent.ExecutionException: com.marklogic.ps.xqsync.SyncException: 
/Other/nobody/2009/10.xml
[...]
Caused by: com.marklogic.xcc.exceptions.XQueryException:
XDMP-AS: (err:XPTY0004) $DOC-0/element() -- Invalid coercion:
(fn:doc("/Other/nobody/2009/10.xml"), fn:doc("/Other/nobody/2009/10.xml"), 
fn:doc("/Other/nobody/2009/10.xml"), ...)
as document()

I've got the latest XQSYNC and associated libraries so far as I can
tell.

So for some reason, when this database is being processed, a sequence of
identical URIs is passed to fn:doc() when the program is expecting a
single one. This throws an error.

Has anyone seen an error like this? ideas about the cause?

-- 
David Sewell, Editorial and Technical Manager
ROTUNDA, The University of Virginia Press
PO Box 801079, Charlottesville, VA 22904-4318 USA
Courier: 310 Old Ivy Way, Suite 302, Charlottesville VA 22903
Email: [email protected]   Tel: +1 434 924 9973
Web: http://rotunda.upress.virginia.edu/
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to