Problem with IE 10

Mar 27, 2013 at 10:07 AM
I got the error

SCRIPT5009: 'XPathEvaluator' is undefined
CrmFetchKit.js, line 392 character 13


unction parseXPathExpr(xml, xpathExpression) {
    var xpathNode = null;

    if (typeof xml.selectSingleNode !== "undefined") {
        // for Internet Explorer
        xpathNode = xml.selectSingleNode(xpathExpression);
    }
    else {
        // firfox & chrome
        __var xpe = new XPathEvaluator(),__
            xPathNode = xpe.evaluate(xpathExpression, xml, namespaceResolver, XPathResult.FIRST_ORDERED_NODE_TYPE, null);

        xpathNode = (xPathNode !== null) ? xPathNode.singleNodeValue : null;
    }

    return xpathNode;
}
Coordinator
Mar 27, 2013 at 10:24 PM
Hi Carlos,

you are right. I will fix this issue.


Daniel
Coordinator
Mar 28, 2013 at 12:04 PM
Hi Carlos,

the bug is fixed with version 1.9.1

Regards,

Daniel
Marked as answer by thuld on 11/20/2013 at 5:20 AM