[MarkLogic Dev General] Error when inserting document in 3.2

Liza Daly liza at ifactory.com
Fri May 25 11:05:34 PDT 2007


After upgrading from 3.1-5 to 3.2 we've been experiencing some major 
namespace-related issues, but rather than attempt to track those down 
I'm just trying to reload our data into a new 3.2-created forest.

I'm inserting a 500M XML file via xdmp:document-load() as:

xdmp:document-load('file.xml',
    <options xmlns='xdmp:document-load'>
     <uri>/file.xml</uri>
     <repair>full</repair>
     <collections><collection>my-collection</collection></collections>
     <forests><forest>{xdmp:forest(\"grangers-orig\")}</forest></forests>
    </options>
)

This document will have numerous XML tagging errors (of the 
<b><i>text</b></i> variety).

I haven't changed the data or the database configuration (still as 
migrated from 3.1) since this loaded successfully in 3.1-5, and smaller 
documents have loaded correctly.  With this document, either I'm getting 
memory allocation errors or this error, which I haven't seen before:

com.marklogic.xcc.exceptions.XQueryException: SVC-BAD: Bad 
CodepointIterator::_next

Any suggestions about what might be going on?  We're kind of stuck right 
now since the 3.1-3.2 migration did not work, and now I can't reload either.

Thanks,

--Liza

--
Liza Daly
Senior Software Engineer
iFactory <http://www.ifactory.com/>


More information about the General mailing list