robrighter/node-xml

No reporting of PIs and DOCTYPE declarations

Opened this issue · 0 comments

The parser silently skips Processing Instructions (including the XML Declaration) and DOCTYPE declarations in the parsed document. It also lacks callback methods through which they would be signaled. This makes it impossible to preserve them in transformed documents; it also makes it impossible to implement XML applications which make use of information within Processing Instructions. Both are show-stopper limitations for my application, unfortunately... :-(