I've moved a bit further on this issue. I am uploading the WMC file via a simple Ext form with 'file' inputType. A servlet returns this file to a javascript callback on success (like applyWMCToMap(cmp, response)). Using developer tools, I see that the response's type is DispHTMLDocument in IE 9 instead of IXMLDomDocument2 as in IE 8. This is because the form is marked as multipart/form-data. At other places, I read that it triggers Quirks mode for IE9, which assigns DispHTMLDocument type.
So the issue now is: quirks mode in IE 9 assigns DispHTMLDocument type to the uploaded wmc xml document. quirks mode is triggered by mutipart/form-data, but a form with 'file' inputType necessarily requires enctype to be multipart.. So how can I prevent triggering quirks mode in IE9 ? (or how can I upload file without mutipart enctype? ) *Note:* I have <meta http-equiv="X-UA-Compatible" content="IE=7"> defined as well, still quirks mode is triggered on file upload [Console msg: HTML1113: Document mode restart from IE9 Standards to Quirks] -- View this message in context: http://osgeo-org.1560.n6.nabble.com/WMC-file-parsing-error-in-IE9-tp4975858p4975924.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
