An event signaling that SaxPushParser finished processing a chunk

12 views
Skip to first unread message

Bohdan Moskalevskyi

unread,
Nov 5, 2015, 7:38:12 PM11/5/15
to libxmljs
Dear community,

We're using SaxPushParser in a node Transform stream. Stream's input chunks are pushed directly to the parser. Node streams require to signal that current input chunk "is completely consumed" (so it e.g. can go read another chunk from disk only when it's needed). Can it be accomplished with libxmljs? Otherwise SaxPushParser's buffer may to take up too much memory killing entire concept of streams.
Reply all
Reply to author
Forward
0 new messages