node-xml
node-xml copied to clipboard
An xml parser for node.js written in javascript.
amp, lt and gt are each twice inside of _replaceEntity.
The documentation is not quite right about the return value of the parser.parseFile(...) function.
Fixed issue 26, "XML entities in attributes are not escaped": https://github.com/robrighter/node-xml/issues/26
Given the input: ``` > ``` the parser says the attribute's value is `>` but the text content is ">". Similarly if the attribute value is `'` it is not...
I think the primary reason to use a Sax parser is concern about doc size. Should this module consider file streaming instead of a full read? As written, I suspect...
The parser fails with this XML document : ``` xml ```
npm
Shouldn't this be in npm? ;-)
It seems XML entities get escaped in text, but not in attributes. Here is a reduced test case, based on the example in the README: ``` var util = require('util');...
How can I determine whether I have encountered an empty element? I am using the `onStartElementNS` callback but there isn't an attribute like "isEmptyElement". I need to be able to...
There doesn't seem to be any way to specify that parseString() will not be called again (end of input.) Thus there seems to be no way to detect an incomplete...