I'm assuming this is a result of not having a text/xml in the header of the
XML and 1.1.7 being more strict about it? I'm going to try this to see if
indeed that's the case but was just wondering if someone could confirm this
hunch.
ODK Collect checks the content type to verify it is text/xml during a fetch
of data it knows should be xml. If it gets a non-xml page, it is likely a
wi-fi and/or network login pages, and that should be reported to the user
differently from other errors.
Not sure whether it only accepts text/xml or also allows application/xml
Mitch
···
On Tue, Nov 29, 2011 at 6:56 AM, Matt Berg wrote:
We've written our own custom backend to Collect.
Our formList looks like the following. It works fine for 1.1.5 but throws
the following error for 1.1.7
Form listing failed. ContentType: application/xml returned from formhub.org/mberg. formList is not text/xml.
I'm assuming this is a result of not having a text/xml in the header of
the XML and 1.1.7 being more strict about it? I'm going to try this to see
if indeed that's the case but was just wondering if someone could confirm
this hunch.
···
On Tue, Nov 29, 2011 at 13:50, Mitch S wrote:
> ODK Collect checks the content type to verify it is text/xml during a fetch
> of data it knows should be xml. If it gets a non-xml page, it is likely a
> wi-fi and/or network login pages, and that should be reported to the user
> differently from other errors.
>
> Not sure whether it only accepts text/xml or also allows application/xml
>
> Mitch
>
>
> On Tue, Nov 29, 2011 at 6:56 AM, Matt Berg wrote:
>>
>> We've written our own custom backend to Collect.
>>
>> Our formList looks like the following. It works fine for 1.1.5 but throws
>> the following error for 1.1.7
>>
>> Form listing failed. ContentType: application/xml returned from
>> formhub.org/mberg. formList is not text/xml.
>>
>>
>>
>> Education_RevForHTI_ChadSheetsRemoved_EA_11-08
>> geopoint
>>
>> nutrition_screening
>> tutorial
>> tutorial2
>>
>>
>>
>> I'm assuming this is a result of not having a text/xml in the header of
>> the XML and 1.1.7 being more strict about it? I'm going to try this to see
>> if indeed that's the case but was just wondering if someone could confirm
>> this hunch.
>>
>> thanks,
>>
>> Matt
>
>
>
>
> --
> Mitch Sundt
> Software Engineer
> University of Washington
> mitchellsundt@gmail.com
ODK Collect checks the content type to verify it is text/xml during a
fetch
of data it knows should be xml. If it gets a non-xml page, it is likely a
wi-fi and/or network login pages, and that should be reported to the user
differently from other errors.
Not sure whether it only accepts text/xml or also allows application/xml
Mitch
On Tue, Nov 29, 2011 at 6:56 AM, Matt Berg mlberg@gmail.com wrote:
We've written our own custom backend to Collect.
Our formList looks like the following. It works fine for 1.1.5 but
throws
the following error for 1.1.7
Form listing failed. ContentType: application/xml returned from formhub.org/mberg. formList is not text/xml.
I'm assuming this is a result of not having a text/xml in the header of
the XML and 1.1.7 being more strict about it? I'm going to try this to
see
if indeed that's the case but was just wondering if someone could
confirm
this hunch.
ODK Collect checks the content type to verify it is text/xml during a
fetch
of data it knows should be xml. If it gets a non-xml page, it is likely
a
wi-fi and/or network login pages, and that should be reported to the
user
differently from other errors.
Not sure whether it only accepts text/xml or also allows application/xml
Mitch
On Tue, Nov 29, 2011 at 6:56 AM, Matt Berg mlberg@gmail.com wrote:
We've written our own custom backend to Collect.
Our formList looks like the following. It works fine for 1.1.5 but
throws
the following error for 1.1.7
Form listing failed. ContentType: application/xml returned from formhub.org/mberg. formList is not text/xml.
I'm assuming this is a result of not having a text/xml in the header of
the XML and 1.1.7 being more strict about it? I'm going to try this
to see
if indeed that's the case but was just wondering if someone could
confirm
this hunch.