"Piotr Caban" <piotr.caban@gmail.com> wrote in message news:200807170041.01333.piotr.caban@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


Find out: SEEK Salary Centre Are you paid what you're worth?