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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.