Funkcionalnosć toś togo sedła se pśez wótwardowańske źěła wobgranicujo, kótarež maju wašo dožywjenje pólěpšyś. Jolic nastawk waš problem njerozwězujo a cośo pšašanje stajiś, wobrośćo se na našo zgromoźeństwo pomocy, kótarež na to caka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomagaś.

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

Why is result of getting firstChild from xmlNode not complete?

  • 3 wótegrona
  • 1 ma toś ten problem
  • 14 naglědow
  • Slědne wótegrono wót karpach.dasha

more options

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

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">&lt;Text xmlns="http://www.aras.com/MPP" xmlns:aras="http://aras.com/ArasTechDoc" aras:id="8D29D60BFD1C43D28DC3C97652DC8993"&gt;&lt;aras:emph xmlns=""&gt;test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test 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&lt;/aras:emph&gt;&lt;/Text&gt;</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
Pśipowjesone fota wobrazowki

Wšykne wótegrona (3)

more options
more options

If you think this could be a bug in developer tools, you can post on this other forum for suggestions:

https://discourse.mozilla.org/c/devtools