<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><SPAN lang=EN>
&nbsp;<BR>
"Piotr Caban" &lt;<A href="mailto:piotr.caban@gmail.com"><U><FONT face="" color=#0000ff>piotr.caban@gmail.com</FONT></U></A>&gt; wrote in message <A href="news:200807170041.01333.piotr.caban@gmail.com"><U><FONT face="" color=#0000ff>news:200807170041.01333.piotr.caban@gmail.com</FONT></U></A>...<BR><SPAN lang=EN>
+/*** LibXML callbacks ***/<BR>
+static void libxmlStartDocument(void *ctx)<BR>
+{<BR>
+ saxlocator *This = ctx;<BR>
+ HRESULT hr;<BR>
+<BR>
+ if(This-&gt;saxreader-&gt;contentHandler)<BR>
+ {<BR>
+ hr = ISAXContentHandler_startDocument(This-&gt;saxreader-&gt;contentHandler);<BR>
+ if(FAILED(hr))<BR>
+ {<BR>
+ xmlStopParser(This-&gt;pParserCtxt);<BR>
+ This-&gt;ret = hr;<BR>
+ }<BR>
Hi Piotr,<BR>
&nbsp;<BR>
Should This-&gt;ret be set on a non-error?<BR>
&nbsp;<BR>
Best Regards<BR>
&nbsp;Alistair Leslie-Hughes<BR></SPAN></SPAN><br /><hr />Find out: SEEK Salary Centre <a href='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' target='_new'>Are you paid what you're worth? </a></body>
</html>