Error:'XPathEvaluator' is undefined

Jun 18, 2015 at 8:35 AM
Using IE 11 when use: XrmServiceToolkit.Soap.Fetch(fetchXml);

For Chrome, FF it OK

debugging: and find the function
    var selectSingleNode = function (node, xpathExpr) {
        if (typeof (node.selectSingleNode) != "undefined") {
            return node.selectSingleNode(xpathExpr);
        else {
            var xpe = new XPathEvaluator();
            var results = xpe.evaluate(xpathExpr, node, nsResolver, XPathResult.FIRST_ORDERED_NODE_TYPE, null);
            return results.singleNodeValue;
Please help how I can fix this bug.
Jun 26, 2015 at 2:10 AM
Hi jaimieji,

Could you look this issue ?

Jun 29, 2015 at 10:44 AM
Hi There.

Will have a look when I have a bit time. A bit busier recently.

You can try using the IE debugger tool to put a break point on the line

if(typeof (node.selectSingleNote) != "undefined")

and check why the condition does not run as it is the one IE should run.

Kind Regards,