Can't create XML node with cyrillic name in IE11

Viewed 1470

I need to create a xml document (with JavaScript) containing nodes, which is named in russian.

I get InvalidCharacterError in IE11 when trying run doc.createElement("Выборка")

doc is created with var doc = document.implementation.createDocument("", "", null)

In other browsers this code is working without any issues.

How can be solved? What is the root of an issue?

jsFiddle example: http://jsfiddle.net/e4tUH/1/

My post on connect.microsoft.com: https://connect.microsoft.com/IE/feedback/details/812130/cant-create-xml-node-with-cyrillic-name-in-ie11

Current workaround: Switch IE11 to IE10 with X-UA-Compatible meta-tag and use window.ActiveXObject(...) to create XML documents.

2 Answers
Related