Hi, I am a French developer trying to use Mozilla code in my program. I rode all the documentation I found on the Web about the Html mozilla Parser. I made a little program using the Parse(nsString,...) function. It works. My problem now is that I'd like to add a functionnality to my program. The dynamic parsing. I'd like the Parse function to work on a kind of Stream buffer. Until an image is found, I'd like to display it right now even if the body is not completly downloaded yet. (Mozilla does it) I tryied to use the ParseFragment() function on the incoming buffers, with a global tagstack. There is no parsing at all. Is this function broken ? I tryied to use the Parse(nsIInputStream ,...) function, defining my own nsIInputStream children (called myInputStream). There is a copy constructor at the begining of the Parse() function. So the methods called are not the methods of my myInputStream. Do I use the function corectly ? I tryied to use the Parse(nsIURI, ...) and I am completly puzzled. I don't see how it works. Is there any documentation to find out how to use the other Parse() functions with a stream buffer ? Thanks in advance. A mozilla fan.
