Some nodeName of XML elements return uppercase.

Fixed, not yet flighted Issue #11620188

Details

Created
Apr 12, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Check-in Instructions

onecoreuap:

COMING…

Conflict Contact

krisk

(425)941-7057

Submitted by

krisk

What is the issue?

This fixes a regression introduced in RS2 from performance work.  We should not be returning uppercase for nodeName, which broke an enterprise application.  The fix was flighted and a DRT has been created as well.  This fix goes back to the W3C standard behaviour that is supported all modern browsers.

How was the issue/bug found?

Support

Quantify the impact of the issue - why do we need to service this issue now?

Not a super common part of the Web (nodeName+XML) but people that are using this API are not expecting upper case values. 

Is the fix ready and what is it?

Fix is ready and just goes back to the former behaviour

​How was the fix Validated?

​The fix has been flighted and DRTs were created as well

Regression risk level of the fix

Very Low

Has the fix been flighted in a RS3 flight?

Yes it has been flighted with no regressions observed

​Do you have any data points that can be monitored to ensure that the fix works or if there are adverse effects from the fix?

No​

​Does this fix need to be backported to TH2 or RS1 or prior releases (for CBB/LTSB customers)?

​No, only backport to RS2

QD signing off on this change

MattGr

How to validate/test for regressions

(required for WSD pre-release validation)

Scenario to validate
:

Run DRT

 

Some nodeName of XML elements return uppercase in Microsoft Edge 40.15063.0.0.

I parse an XML that looks like this

<html xmlns="http://www.w3.org/1999/xhtml">
    <body></body>
</html>

using DOMParser.

var parser = new DOMParser();
var dom = parser.parseFromString(str, "text/xml");

However, when I serialize XML using DOM API, I get

<html xmlns="http://www.w3.org/1999/xhtml">
    <BODY></BODY>
</html>

dom.documentElement.firstChild.tagName returns "body".
But, dom.documentElement.firstChild.nodeName returns "BODY".

Why are some elements returned in uppercase?

You can test here.

Attachments

Comments and activity

  • Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Travis L.”

    Changed Assigned To from “Travis L.” to “Jose L.”

    Changed Status to “Confirmed”

    Changed Assigned To from “Jose L.” to “Jeff W.”

    Changed Status from “Confirmed” to “In progress”

    Changed Status from “In progress” to “In code review”

    Changed Status from “In code review” to “Fixed”

    Changed Assigned To to “Jeff W.”

    Changed Status from “Fixed”

    Changed Status to “Fixed”

    Changed Status from “Fixed” to “Fixed, not yet flighted”

    Changed Steps to Reproduce

    Changed Steps to Reproduce

    Changed Steps to Reproduce

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

Sign in