Re: [MarkLogic Dev General] SEARCH-BADORDERBY

2015-11-26 Thread Ashley Peacock
Hi All, Thanks for the replies. I have added an element range index (which I assume is the type I need?) and the type is dateTime, I’ve included a screenshot below to show the index I created. I also tried to add the collation to the config, but that didn’t resolve the problem either so I’m

[MarkLogic Dev General] Retrieve a multipart/form-data file as XML nodes

2015-11-26 Thread Florent Georges
Hi, I have a problem with a form, that I could narrow down to the following. It is a POST of type multipart/form data, sending one file part: --ed0cb8f98262 Content-Disposition: form-data; name="file"; filename="example.xml" Content-Type: text/xml

Re: [MarkLogic Dev General] Retrieve a multipart/form-data file as XML nodes

2015-11-26 Thread Danny Sokolsky
I am not sure, but don't you need to decode the multipart form data? http://docs.marklogic.com/xdmp:multipart-decode -Danny From: general-boun...@developer.marklogic.com [general-boun...@developer.marklogic.com] on behalf of Florent Georges

Re: [MarkLogic Dev General] Retrieve a multipart/form-data file as XML nodes

2015-11-26 Thread Geert Josten
What happens if you mark it with Content-Type: application/xml? Cheers, Geert On 11/26/15, 9:08 PM, "general-boun...@developer.marklogic.com on behalf of Florent Georges" wrote: >Hi, > >I have a problem with a form, that

Re: [MarkLogic Dev General] Retrieve a multipart/form-data file as XML nodes

2015-11-26 Thread Florent Georges
Hi Geert, Exactly the same than with text/xml, unfortunately. -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/ On 26 November 2015 at 21:42, Geert Josten wrote: > What happens if you mark it with Content-Type: application/xml? > > Cheers, > Geert > > On 11/26/15, 9:08 PM,

Re: [MarkLogic Dev General] Retrieve a multipart/form-data file as XML nodes

2015-11-26 Thread Geert Josten
Maybe it is because it is marked as form-data, instead of as attachment. Have you compared with a simple html upload form? I¹m sure that worked just fine for me in the past.. Cheers, Geert On 11/26/15, 9:08 PM, "general-boun...@developer.marklogic.com on behalf of Florent Georges"