Hi, Mihir,

If the same data works in smaller batches, I suspect a connection issue.  
First, are you able to load the same data with the same code in smaller 
batches?  If yes, we can pursue the connection issue theory more.  Could be a 
setting on the client, server or something in the middle.  The ideal batch size 
should also be questioned.  What seems to be the tipping point, in terms of 
number of documents and byte size, for the entire batch?  Using the larger 
batch size configuration, do some batches make it through but not others?  Is 
the client given any additional information?  Any clues in ML's ErrorLog.txt?  
You could lower the log level for the group, from ML's admin console, and see 
if any additional clues appear after reproducing once more.  HTH.

-Brent

From: [email protected] 
[mailto:[email protected]] On Behalf Of Mihir Das
Sent: Wednesday, October 03, 2012 9:06 AM
To: [email protected]
Subject: [MarkLogic Dev General] Has anyone faced XDMP-DOCUNENDTAG error?


Hi,

We get mention below error while uploading a XML to ML server. The strange 
thing about issue is it fails when uploaded as a big batch but not as a small 
batch. The XML looks good with proper tags.

Error::
<error:error xsi:schemaLocation="http://marklogic.com/xdmp/error error.xsd" 
xmlns:error="http://marklogic.com/xdmp/error"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<error:code>XDMP-DOCUNENDTAG</error:code>
<error:name/>
<error:xquery-version>1.0-ml</error:xquery-version>
<error:message>Unexpected end tag</error:message>
<error:format-string>XDMP-DOCUNENDTAG: xdmp:get-request-body("xml") -- 
Unexpected end tag &lt;/tr&gt; at  line 1</error:format-string>
<error:retryable>false</error:retryable>
<error:expr>xdmp:get-request-body("xml")</error:expr>
<error:data>
  <error:datum>&lt;/tr&gt;</error:datum>
  <error:datum/>
  <error:datum>1</error:datum>
</error:data>
<error:stack>

Any help will be highly appreciated!

Thanks,
Mihir

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to