Why is result of getting firstChild from xmlNode not complete?
Why is result of getting firstChild from xmlNode not complete?
Hello! I have the following problem with script like this:
var parser = new DOMParser() var st = '<Item type="mpp_Step" typeId="8A8E3342652646D6B94E9FE81D61AE4C" id="CC6EC28C032B4224A354FF9843B0D458"><wi_details xml:lang="en"><Text xmlns="http://www.aras.com/MPP" xmlns:aras="http://aras.com/ArasTechDoc" aras:id="8D29D60BFD1C43D28DC3C97652DC8993"><aras:emph xmlns="">test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test testt</aras:emph></Text></wi_details><sort_order>1000000</sort_order></Item>' var xmlDoc = parser.parseFromString(st, "text/xml"); var fc = xmlDoc.firstChild.firstChild.firstChild;
console.log(fc);
(I put this file in simple html page)
(The same behavior with childNodes[0] instead of firstChild) Results in Chrome and FF are not the same. It reproduced in FF 38, 40, 43. In 44.0 and 58 FF versions the results are the same with Chrome. (I checked only this versions). Could you please tell me what it means? How can I solve this problem for 38 FF version?
(1st results: Chrome, 2ns results: FireFox)
Thanks, Dasha Karpach e-mail: karpach.dasha@gmail.com
Wšykne wótegrona (3)
Try to ask advice at the Stack Overflow forum site.
If you think this could be a bug in developer tools, you can post on this other forum for suggestions: