First of all, I want to thank the project team for MozillaHtmlParser. It is a powerful and easy way of exposing underlying htmlparser.
I want to print out the parsed items passed to JavaContentSink::callback() function.
I am trying to parse following html contents -
Callback function receives "var d = " only, when it reaches the script body. Also sometimes document.write("...abc...") is returned truncated as document.write(" and sometimes it is correctly returned with quotes.
I am new to Mozilla sourcebase and don't know how to fix this. Any ideas how to fix this and consistently get all the items in callback function?
my mistake. i just tested the original java based code, and everything seems to be fine.
my changes must have broken something.
Log in to post a comment.