441 views

Description

Using Internet Explorer 11 and XPath result in a Catalog Client Script. An undefined error occurs.

Steps to Reproduce 

  1. Open Internet Explorer 11.
  2. Have a Client Script running on a catalog item using XPathResult that is not wrapped in a function.
    The error message XPathResult undefined appears.
  3. Switch to compatibility mode.
    The error does not occur.

Workaround

XPATH is not supported in Internet Explorer currently.

For more information, see:
http://stackoverflow.com/questions/23560438/xpathresult-is-undefined-in-ie11

http://status.modern.ie/domlevel3xpath#domlevel3xpath

The workaround is to wrap the wanted script in a function. For example:


if( XPathResult ) { 
.. your code here... 

 

Another workaround is to use Compatibility Mode in Internet Explorer.


Related Problem: PRB600878

Seen In

Calgary Patch 2 Hot Fix 14
CCA 3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2016-03-10 11:55:35
Published:2016-02-02