[w3c/DOM-Parsing] No ProcessingInstruction in document from XML (#35)

````js
const inXMLStr = `<?xml version="1.0" encoding="ISO-8859-1"?>
<x><y/></x>`
  
const doc = (new DOMParser()).parseFromString(inXMLStr, 'text/xml')
  
console.log(doc.childNodes)  
````

Both in Firefox and Chrome, there is no ProcessingInstruction node; only the `<x>` element as child

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/35

Received on Friday, 5 January 2018 23:44:14 UTC