[
https://issues.apache.org/jira/browse/WICKET-4332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186911#comment-13186911
]
Martin Grigorov commented on WICKET-4332:
-----------------------------------------
Hi Serban,
I'll check the case for DOMParser. Thanks!
Here while running the app in IE9 with <meta ...IE=8> the compatMode is
'BackCompat'. Without the <meta> it is "Css1Compat".
I picked this property to be able to differentiate what is the current
envelope. The best check would be something like: if (envelope instanceof
DispHtmlDocument) , but this fails. If you find a better way to recognize that
we need to convert from HtmlDocument to DOMDocument then modify it and update
the patch.
> FileUpload: Using IE9 in IE8 compatibility mode, ajax-response cannot be
> parsed
> -------------------------------------------------------------------------------
>
> Key: WICKET-4332
> URL: https://issues.apache.org/jira/browse/WICKET-4332
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.3
> Reporter: Andreas Köhler
> Assignee: Martin Grigorov
> Attachments: WICKET-4332.patch, wicket-4332.tar.bz2
>
>
> See the quickstart project.
> When using a simple form with multipart/form-data and an IE9 (9.0.8112.16421
> here) in IE8 compatibility mode (via X-UA-Compatible meta tag),
> the posting of the data in the hidden iframe works but the response text/xml
> is not handled correctly.
> ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Could not find
> root <ajax-response> element
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira