Using Javascript and XSLTProcessor, Edge fails to run transformation of XML document having a DOCTYPE node

Confirmed Issue #8496548 • Assigned to Bo C.


Kelly D.
Aug 15, 2016
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

This issue is identical in nature to that of Issue #5552211 ( except that the error occurs when the XML document contains a DOCTYPE.

Attached is the test content taken from Issue #5552211. The XML file was modified to include a DOCTYPE. Because this does not work, it is difficult to tell what else, if anything, this fails on but it should work with XML documents that contain ENTITY and NOTATION declarations, processing instructions, comments, etc. (These are not included in the attached sample.)

Repro Steps:

  1. Load test.html (attached) in browser window with JavaScript enabled.
  2. Check display, on failure it says "Test failed. Created fragment is: null.", if the test succeeds, it says “Test succeeded.” and displays the result of the XSLT transformation, a paragraph with non-breaking space characters.

Expected Results:

The used JavaScript code should run the transformToFragment method successfully and return a document fragment node which can be inserted into the HTML document running the script code. Or, if the processing of the stylesheet failed, an error indicating the reason of the failure should be thrown.

Actual Results:

Test failed. Created fragment is: null


1 attachment

Comments and activity

  • Found in the Windows 10 Anniversary Update build.

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To to “Travis L.”

    Changed Status to “Confirmed”

    Changed Assigned To from “Travis L.” to “Eugene V.”

    Changed Assigned To from “Eugene V.” to “Bo C.”

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

Sign in