The v0.1.3 of node-xppq, the Epeios XML preprocessor and parser addon for node.js, is available. It introduces a node.js compliant error handling for both the parser and the preprocessor, and also fixes this issue.
This new version is available here.