Vijay S. Bajwa <vijay.bajwa <at> citigroup.com> writes: > > Hi All, > I have a class that calls the SAXParser::parse(const char* xmlFile). However it > complains "Pure virtual function called. Abort" when called. The source for > SAXPrint has exactly the same call. I did set the DocumentHandler and > ErrorHandler in the way suggested by SAXPrint. What is going on?
At the risk of having egg on my face, the issue was that the handler object (not pointer) was defined in one method, and the parser->parse was called in another method. So, really, the handler was deleted when the parse() was called. I stumbled upon the error by accident when I tried to do a "whatis handler" in dbx. Expected segmentation vialtion or some such error --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
