Range.createContextualFragment() does not implement the XML fragment parsing algorithm correctly

Confirmed Issue #1008656 • Assigned to Travis L.

Details

Created
Oct 29, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

(I will attach a test case once the feedback item is created.)

  1. Open IE 11 and then open the Developer Tools so that you will see the errors.
  2. Open the test case, SVG_createContextualFragment_test.svg. On the console, you should see that an error has been logged: XML5632: Only one root element is allowed. Line: 1, Column 44
  3. Edit the test case to uncomment line 17, `range.createContextualFragment(‘<linearGradient xlink:href="#baseGradient"></linearGradient>’);’
  4. Reload the test case in IE. On the console, you should see that a different error has been logged: XML5660: The specified prefix has not been declared. Line: 1, Column 44

Expected Results:

Range.createContextualFragment() should succeed in parsing the XML fragments:

'<linearGradient xlink:href="#baseGradient"></linearGradient>'

… and:

'<linearGradient id="lg1"></linearGradient>' +
'<linearGradient id="lg2"></linearGradient>'

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Travis L.”

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

      Changed Status to “Confirmed”

      Changed Assigned To from “Eugene V.” to “Frank O.”

      Changed Assigned To from “Frank O.” to “Sam F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Matt R.”

      Changed Status from “Won’t fix”

      Changed Assigned To to “Travis L.”

      Changed Title from “Range.createContextualFragment() does not implement the XML fragment parsing algorithm correctly” to “Range.createContextualFragment() does not implement the XML fragment parsing algorithm correctly”

      Changed Status to “Confirmed”

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

    Sign in