'XML5619: Incorrect document syntax. ' error in IE10 Only

后端 未结 2 853
南笙
南笙 2021-02-19 15:08

I\'ve been noticing during some IE10 testing that I keep running into the following error:

XML5619: Incorrect document syntax. 

However, I\'m n

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-19 15:37

    set the content-type of you're request to text/xml and the error will disappear.

    I think IE10 expects the content-type to be set. Check Developer tools -> Network -> Start capturing what type your request is.

    For Ext.Ajax.request set the content-type to application/json.

提交回复
热议问题