You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by kintaroe <ru...@synarea.com> on 2013/03/01 16:09:21 UTC

Solved: Exception when calling parse from release - build (3.1.1)

Hi everybody, I solved. 

The error was in mismatched upcast. I wrote

HandlerBase* pkDocumentHandler = new HandlerBase();
DocumentHandler* docHandler = pkDocumentHandler;

ErrorHandler* errHandler = (ErrorHandler*) docHandler; //error in cast

instead of

ErrorHandler* errHandler = (ErrorHandler*) pkDocumentHandler;


3 Days to find it... grrrrrr! 





--
View this message in context: http://apache-xml.6118.n7.nabble.com/Exception-when-calling-parse-from-release-build-3-1-1-tp39813p39825.html
Sent from the Xerces - C - Users mailing list archive at Nabble.com.