Hi Marc.

Did you register your handler?

e.g.

SAX2XMLReader *parser = XMLReaderFactory::createXMLReader();

		procsax  *handler = new AwdSaxHandler();

               parser->setContentHandler( handler );








From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Problem with startElement and other SAX2 events
Date: Fri, 1 Nov 2002 09:55:15 -0600

Hi!

I'm trying to write a SAX2 handler, and things aren't going as I expected.
The startElement and characters methods of my class are not getting called.
I've stripped my handler down to the bare minimum( just writes to a log
file as each method is entered ), and can't seem to figure out whats
happening.  I've attached copies of my class, and the log I get when I use
it.

Any suggestions are greatly appreciated!

Marc Robertson
Staff Consultant
AWD Development
DST Systems, Inc.

(See attached file: AwdSaxHandler.cpp)(See attached file:
AwdSaxHandler.log)
<< AwdSaxHandler.cpp >>
<< AwdSaxHandler.log >>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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

Reply via email to