dhtmlxGrid init error, did I fixed it right?

Hello,

Our company bought enterpise edition license and received dhtmlxSuite 90226 version.

but I can’t initialize dhtmlxGrid with an error line 1 of dhtmlxgrid.js .



So I try to find out what occured, and finally I find a strange something.





line 2896 in source file, that describe below



var out = ‘<?xml version="1.0"?>’;







but this code [ <?xml ] was crashed on our web server.



so I changed that code to



var out = “<” + “?xml version=‘1.0’?” + “>”;



and it does work well.



Did I fixed right? please advice to me :slight_smile:



Thank you very much.

It’s pretty strange that mentioned instruction causes problems in first place ( it seems your server process js files with some XML based logic, while normally, js files outputted unchanged )
Are you using some special server software?

>>Did I fixed right?
Such changes will not break any other logic, and must not change anything in grid’s functionality.