Hi,

 

I am trying to use a form to upload an XML file into a MarkLogic database,
but when my XQuery code tries to unquote the text in the package it reports
that the file is incomplete (it is truncated). I have confirmed this. 

 

Here is the form I am using:

 

              <form style="display:inline" name="test" action="Upload.xqy"
method="post" enctype="multipart/form-data">

                <input type="file" class="name" name="upload" size="50"
style="font-size:11px;vertical-align:-3px"/>

                <input type="image" value="Upload" src="images/add.gif"
style="vertical-align:-5px;"/>

              </form>

 

The file is 1.3MB in size, is this too big for some reason? Is there a
setting somewhere I can change to make a large file uploadable? 

 

Or is this a different kind of problem? I have determined that I am
receiving the first 126,685 characters of the file, so only a small amount
of data is missing from the end. I think that is suspicious, as if there if
a buffering problem that just fails to include the last block of text.

 

Thanks,

 

Neil.

 

_______________________________________________
General mailing list
General@developer.marklogic.com
http://xqzone.com/mailman/listinfo/general

Reply via email to