dhtmlxError.catchError LoadXML in 3.5

Sorry, I do not speak English. In the project on 3.5 there is no event dhtmlxError.catchError on incorrect xml. If in the project to enclose version 3.0 files - the call is. I can not inform the user on the mistake which has arisen at formation of xml on the party of the server (in 3.5, 3.0-ok).

Firefox 15.0.1

[code]dhtmlxEvent(window, “load”, function() {
mnMain = lcMain.attachMenu();
mnMain.loadXML(“page/menu/menu_xml.php”);

if (window.dhtmlxError) {
dhtmlxError.catchError(“LoadXML”, function(type, desc, data) {
var msg = data[0].responseText;
alert(msg);
});
}

page/menu/menu_xml.php

<?php header("Content-type: text/xml"); try { $xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$xml .= "<menu>\n";
...
$xml .= "</menu>";

}
catch (Exception $e) {
$xml = htmlspecialchars($e->getMessage());
}
echo $xml;
?>[/code]

If in 3.5 put dhtmlxcommon.js from 3.0 (//v.3.0 build 110713), dhtmlxError.catchError is work for LoadXML, I receive the message on bed xml. In 3.5 I do not receive the message

<script src="codebase/dhtmlx.js" type="text/javascript"></script>
<script src="codebase/dhtmlxcommon.js" type="text/javascript"></script>
..
dhtmlxEvent(window, "load", function() {
    dhtmlxError.catchError("LoadXML", function(type, desc, data) {
        // type - тип ошибки = "LoadXML"
        // desc - описание ошибки
        // data - массив объектов связанных с ошибкой
        //        data[0].responseText - неправильный ответ со стороны сервера
        var msg = data[0].responseText;
        alert(msg + "<br>[LoadXML]");
    });
});

We’ve fixed the dhtmlxcommon.js file.
Please, replace it and try.
dhtmlxcommon.rar (6.71 KB)

Thanks. Now works.