XSLT stylesheet using msxsl:script works in IE but fails with error XSLT8690 in Edge

Confirmed Issue #7598626 • Assigned to Eugene V.

Details

Created
May 18, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Standard affected
EXSLT - exsl:node-set

Found in build #
13.10586
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

As far as I know, both IE and Edge use MSXML as their XSLT processor. However, with IE it is possible to use the msxsl:script element to write extension functions in JScript or VBScript. One established use of that approach in the XSLT 1.0 world is to make MSXML support the de facto EXSLT standard function exsl:node-set by using

<msxsl:script language="JScript" implements-prefix="exsl">
this['node-set'] =  function (x) {
  return x;
}
</msxsl:script>

That way it is possible to write portable XSLT 1.0 stylesheets as then IE allows the use of exsl:node-set, as shown in http://home.arcor.de/martin.honnen/xslt/exsl-node-set-test2.xml which loads the stylesheet http://home.arcor.de/martin.honnen/xslt/exsl-node-set-test2.xsl. This approach breaks completely in Edge however, which does not seem to support mxsl:script, but instead of ignoring it, aborts XSLT processing with an error XSLT8690: Fehler bei der XSLT-Verarbeitung.. To be compatible with IE, Edge should support the msxsl:script element. If it does not want to support it, it should simply ignore it, as other browsers and their XSLT processors do. Throwing an XSLT error breaks existing stylesheets and does not allow one to write portable stylesheets working in IE, Edge and other browsers like Firefox or Chrome, where exsl:node-set is supported.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Rick J.”

      Changed Assigned To to “Rico M.”

      Changed Assigned To from “Rico M.” to “Nirankush P.”

      Changed Assigned To from “Nirankush P.” to “Eugene V.”

      Changed Assigned To from “Eugene V.” to “Thomas M.”

      Changed Assigned To from “Thomas M.” to “Travis L.”

      Changed Assigned To from “Travis L.” to “Thomas M.”

      Changed Assigned To from “Thomas M.” to “Eugene V.”

      Changed Status to “Confirmed”

    • I am also running into this issue with Edge. Any idea when this will be looked into?

    You need to sign in to your Microsoft account to add a comment.

    Sign in