Closed trotter closed 12 years ago
+1
The parser doesn't do I/O, therefore it is unnecessary that it runs asynchronously by default. Actually, all you need to do is to remove the setTimeout(…, 0)
in SaxParser.prototype.parseString.
Removed the setTimeout all together.
Having a synchronous version makes some operations in client libraries easier.