Re: xml error when indexing

2010-02-17 Thread Lance Norskog
I mean: what MIME type does the POST command use? On Wed, Feb 17, 2010 at 7:09 PM, Lance Norskog wrote: > What type are you posting with? Is it expecting a multipart upload? > What is the curl command and what is its mime-type for uploaded data? > > > > On Wed, Feb 17, 2010 at 10:19 AM, Chris Hos

Re: xml error when indexing

2010-02-17 Thread Lance Norskog
What type are you posting with? Is it expecting a multipart upload? What is the curl command and what is its mime-type for uploaded data? On Wed, Feb 17, 2010 at 10:19 AM, Chris Hostetter wrote: > : I'm having a strange problem when indexing data through our application. > : Whenever I post som

Re: xml error when indexing

2010-02-17 Thread Chris Hostetter
: I'm having a strange problem when indexing data through our application. : Whenever I post something to the update resource, I get : : Unexpected character 'a' (code 97) in prolog; expected '<' at [row,col {unknown-source}]: [1,1], ... : However, when I post the same data from an xm

Re: xml error when indexing

2010-02-17 Thread Erick Erickson
The file looks good to me, but as I remember, the xml must be UTF-8 (but check). Is there a chance that somewhere in the chain it's not? HTH Erick 2010/2/17 Jan Simon Winkelmann > Hi, > > I'm having a strange problem when indexing data through our application. > Whenever I post something to the

xml error when indexing

2010-02-17 Thread Jan Simon Winkelmann
Hi, I'm having a strange problem when indexing data through our application. Whenever I post something to the update resource, I get Unexpected character 'a' (code 97) in prolog; expected '<' at [row,col {unknown-source}]: [1,1], Error 400 Unexpected character 'a' (code 97) in prolog; expec