{"comment":{"created_at":"2011-10-13T15:37:02Z","body":"Updated by [philbooth](https://github.com/philbooth) on 5 Nov 2009  9:48:03 AM UTC\n\nThis issue is now fixed in my repository. Patch is attached and also available here:\r\n\r\nhttp://bitbucket.org/philbooth/backplane-patches/changeset/0542a1e8a43b\r\n\r\nThere are actually a couple of additional things in the changeset.\r\n\r\nFirstly, there are a few minor jslint corrections.\r\n\r\nThen there is also a refactoring that I made initially to ease debugging, by moving \r\nthe submit event dispatches to a common set of methods (i.e. so I could set a single \r\nbreakpoint to catch all xforms-submit-errors). Because the refactoring felt like an \r\nimprovement over the existing code, I decided to keep it and committed it to my repo.\r\n\r\nThe fix itself simply corrects our checking of the submission response content type, \r\nin accordance with section 11.10 of XForms 1.1, which itself references RFC 3023.\r\n\r\nThe changes have been tested in IE, Firefox and Safari against the UXF unit tests and \r\nchapter 11 of the W3C XForms 1.1 test suite.\n\nOriginal ticket status set to Fixed","updated_at":"2011-10-13T15:37:02Z","url":"https://api.github.com/repos/backplane-import/test-import/issues/comments/2396081","id":2396081,"user":{"avatar_url":"https://secure.gravatar.com/avatar/d9eef3a47b3d8a652e7a4cd1210337db?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d9eef3a47b3d8a652e7a4cd1210337db","url":"https://api.github.com/users/backplane-import","id":1123459,"login":"backplane-import"}},"action":"created","issue":{"number":1,"created_at":"2011-10-13T15:36:54Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Imported from backplanejs Google Code [issue 1](http://code.google.com/p/backplanejs/issues/detail?id=1).\n\nOriginally filed by [philbooth](https://github.com/philbooth) on 5 Nov 2009  9:44:20 AM UTC\n\n\r\n\r\nAlex Sansom reports:\r\n\r\n\"A test form that replaces an empty instance with some XML served from a \r\nURL doesn't work. It was mentioned that both the form and the replacement \r\ndata had to be served from the same server and they are.\r\n\r\nThe test form: http://67.202.30.116/submission.html\r\n\r\nThe XML that's trying to be inserted: http://67.202.30.116/product-list.xml\r\n\r\nThe files are located on the 'Drupal websites (Drupal 5.10 + 6.10 v1)' \r\nserver at '/var/www/html/arc_work'.\"","comments":3,"title":"xf:submission[@replace=\"instance\"] fails if response content type is text/xml","updated_at":"2011-10-13T15:37:03Z","url":"https://api.github.com/repos/backplane-import/test-import/issues/1","id":1901402,"assignee":null,"milestone":null,"closed_at":"2011-10-13T15:37:03Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/d9eef3a47b3d8a652e7a4cd1210337db?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d9eef3a47b3d8a652e7a4cd1210337db","url":"https://api.github.com/users/backplane-import","id":1123459,"login":"backplane-import"},"html_url":"https://github.com/backplane-import/test-import/issues/1","labels":[{"name":"Module-XForms","url":"https://api.github.com/repos/backplane-import/test-import/labels/Module-XForms","color":"ededed"},{"name":"Priority-High","url":"https://api.github.com/repos/backplane-import/test-import/labels/Priority-High","color":"ededed"},{"name":"Type-Defect","url":"https://api.github.com/repos/backplane-import/test-import/labels/Type-Defect","color":"ededed"}],"state":"closed"},"legacy":{"issue_id":1901402,"comment_id":2396081}}