XML not working on grid with IE 11

Hello,

I’m using DhtmlxGrid V.3.6 build 131108
My script is launched on IE 11.0.9600.1831

My script is the following :
$.ajax({
url : url,
dataType: “xml”,
success : function(msg) {
mygridCDE.parse(msg);
$(’#Val_MajCDE’).show();
}
});

url being a webService that sends a XML.

my XML is the following :

<?xml version="1.0"?> false CDE 07955 01/04/2016 PRE00168 Analyse huile Pont Tram séquence 3346 6 50 DMA0511-D01-TRAM...... 7941 1 17760 false CDE 07956 01/04/2016 PRE00169 Analyse huile Centrale Hydraulique Tram 4 78 DMA0511-D01-TRAM...... 7942 1 17761 false CDE 07957 01/04/2016 PRE00169 Analyse huile Centrale Hydraulique Tram 1 78 DMA0511-D01-TRAM...... 7943 1 17764 false CDE 07958 01/04/2016 HST05661 COMMANDE CONSOMMABLES TRIEUR 1 434,51 DMA0231-D01-URB1...... 7944 1 0 false CDE 07959 01/04/2016 HST04419 COMMANDE MEUBLE CARROSSERIE 1 184,33 DMA0231-D01-URB1...... 7945 1 0 false CDE 07960 01/04/2016 STK01150 Joint torique arbre roue vhl+pont citaro 10 2 7946 1 17383 false CDE 07961 01/04/2016 HST04431 Redevance de roulage Série 1G 1,221 25,5 DMA0201-D01-URB1...... 7947 1 17350 false CDE 07961 01/04/2016 HST04432 Redevance de roulage Série 1K 373,151 22,16 DMA0201-D01-URB1...... 7947 2 17351 false CDE 07961 01/04/2016 HST04434 Redevance de roulage Série 1P 279,372 35,7 DMA0201-D01-URB1...... 7947 3 17352 false CDE 07961 01/04/2016 HST04435 Redevance de roulage Série 3A 8,737 12,98 DMA0201-D01-URB1...... 7947 4 17353 false REC 07955 18/04/2016 PRE00168 Analyse huile Pont Tram séquence 3346 6 50 DMA0511-D01-TRAM...... 7941 1 17760 false REC 07956 18/04/2016 PRE00169 Analyse huile Centrale Hydraulique Tram 4 78 DMA0511-D01-TRAM...... 7942 1 17761 false REC 07957 18/04/2016 PRE00169 Analyse huile Centrale Hydraulique Tram 1 78 DMA0511-D01-TRAM...... 7943 1 17764 false REC 07960 04/04/2016 STK01150 Joint torique arbre roue vhl+pont citaro 10 2 7946 1 17383 false REC 07961 01/04/2016 HST04431 Redevance de roulage Série 1G 1,221 25,5 DMA0201-D01-URB1...... 7947 1 17350 false REC 07961 01/04/2016 HST04432 Redevance de roulage Série 1K 373,151 22,16 DMA0201-D01-URB1...... 7947 2 17351 false REC 07961 01/04/2016 HST04434 Redevance de roulage Série 1P 279,372 35,7 DMA0201-D01-URB1...... 7947 3 17352 false REC 07961 01/04/2016 HST04435 Redevance de roulage Série 3A 8,737 12,98 DMA0201-D01-URB1...... 7947 4 17353

The grid is loaded correctly on google chrome and firefox, but on IE 11 i get the following error :

XML5617: Illegal XML character. Line: 9, Column 32

I also get an error when trying to load a JSON file : JSON loading works perfectly on chrome and firefox but fire an error on IE 11.

I found something while debugging using a JSON.

the error returned is Expected ‘]’, and is fired by the eval() function.

_process_json:function(a,b){this._parsing=!0;if(a&&a.xmlDoc)eval(“dhtmlx.temp=”+a.xmlDoc.responseText+";"),a=dhtmlx.temp;if(b==“js”){if(a.data)a=a.data;for(var c=0;c<a.length;c++){var d=a[c],e=d.id||c+1;

I still dont understand why because my JSON is following the dhtmlx structure.

Please, try to define the encoding type for your xml:

<?xml version="1.0" encoding="----"?>

that corresponds to your using chartype.