backplane-import/test-import — Issue #9: xf:submission response with Content-Type header of application/soap+xml is not recognised as XML
Author: backplane-import
Created: 2011-10-13 16:16:56+00:00
State: open

Imported from backplanejs Google Code [issue 9](http://code.google.com/p/backplanejs/issues/detail?id=9).

Originally filed by alex.sansom@webbackplane.com on 10 Dec 2009 12:21:35 PM UTC

When using xf:submission with @replace='instance', if the response XML has
a Content-Type header set to application/soap+xml (the product of a SOAP
request), the library generates an xforms-submit-error with an error type
of 'resource-error'.

It's expected that any XML with a Content-Type of application/*+xml would
be treated as XML and not generate xforms-submit-errors.

Example form to follow.