msxml3: Added ISAXContentHandler_startDocument evenet (3/12)

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Jul 16 21:07:29 CDT 2008


 
"Piotr Caban" <piotr.caban at gmail.com> wrote in message news:200807170041.01333.piotr.caban at gmail.com...
+/*** LibXML callbacks ***/
+static void libxmlStartDocument(void *ctx)
+{
+ saxlocator *This = ctx;
+ HRESULT hr;
+
+ if(This->saxreader->contentHandler)
+ {
+ hr = ISAXContentHandler_startDocument(This->saxreader->contentHandler);
+ if(FAILED(hr))
+ {
+ xmlStopParser(This->pParserCtxt);
+ This->ret = hr;
+ }
Hi Piotr,
 
Should This->ret be set on a non-error?
 
Best Regards
 Alistair Leslie-Hughes
_________________________________________________________________
Are you paid what you're worth? Find out: SEEK Salary Centre
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_salary&_m=EXT
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-devel/attachments/20080717/928b4f58/attachment.htm 


More information about the wine-devel mailing list