DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4581>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4581

erroneous static cast in programming examples





------- Additional Comments From [EMAIL PROTECTED]  2001-11-02 18:55 -------
After David pointed out what the compiler would be doing, I understood. If I'm
going to correct the documentation should I just have

DefaultHandler *handler = new DefaultHandler();

and then use:

parser->setErrorHandler((ErrorHandler*)handler);
parser->setContentHandler((ContentHandler*)handler);

Is this OK? If not then give me the code piece I need.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to