node-xml icon indicating copy to clipboard operation
node-xml copied to clipboard

An xml parser for node.js written in javascript.

Results 33 node-xml issues
Sort by recently updated
recently updated
newest added

I have an xml file containing a table. The parsing speed is very slow. I notice a pattern though: 110s for parsing the full file 25s when half the rows...

The example program doesn't work if the onEndElementNS function does not pause(200). Why is this required?

If the parser sees the text "<p>This is some html text.</p>" (properly escaped), it will call the text handler 7 times: < p > This is some html text. <...

It looks that the parser does not correctly handle entities in the form &#...; (e.g. Zürich -> Zürich). They get translated into empty strings because _replaceEntity calls the following (line...

When running this code: https://gist.github.com/900680 on an XML file with 76 elements in it (and some starting and ending tags), the onEndDocument callback gets called several times. Interestingly, it gets...

I see that in https://github.com/robrighter/node-xml/blob/master/lib/node-xml.js there are a couple of places where the "sys" module is required, but I don't see where it is ever used. Are the requires able...

onStartElementNS() passes an array of namespace prefix/uri pairs, signalling the start of a namespace binding, but onEndElementNS() has no corresponding callback parameters to signal when namespace bindings go out of...

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...

I didn't see anything in the documentation about defining additional entities for the parser to recognize, so I was a bit surprised to discover it recognizes entities not defined in...

The onEndDocument() callback seems to be fired every time the parser reaches the end of available input when working in chunked mode. I would expect it only to be invoked...