backplane-import/backplanejs — Issue #73: xf:submission with @method="post" and @replace="all" causes popup error
Author: backplane-import
Created: 2011-10-15 02:55:25+00:00
State: open

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

Reporter
alex.sansom@webbackplane.com

Date
12 Jul 2010 4:38:30 PM UTC

Attached forms demonstrate that when using Internet Explorer and trying to do a POST submission of instance data to a resource, errors occur.

When running the attached files on a local webserver, I expect clicking "Submit" in the test-submission-POST.html form to do the following:

- Send data to assets/echo.aspx
- Browser address bar URL change to echo.aspx
- The posted XML instance is displayed as a tree of XML (as per screen-shot-1.gif).
- Selecting "View Source" in the browser to show the XML that was submitted

Currently the following happens:

- Data is sent to echo.aspx (verified with Fiddler)
- Browser address bar URL stays as test-submission-POST.html
- Pop-up error 'Runtime Error has occured' (as shown in screen-shot-2.gif)
- No tree of XML is shown
- Selecting "View Source" shows the XML that was submitted (* although in other browsers, the original document source is shown)

I've attached the screen shots, the test-submission-POST.html and echo.aspx files that show the behaviour described above.

screen-shot-1.gif shows the results when the formsPlayer plugin is used with the form. I have also attached that form, test-submmission-POST-fp.html.