Yes, that would be more accurate. I think people tend to oversimplify this because it's MUCH easier to understand the simplified story. (Better to be slightly inaccurate than not understood at all.) Your "horribly rough" language is about as smooth as any I've seen.
-----Original Message----- From: Erik Schroeder [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 2:25 PM To: '[EMAIL PROTECTED]' Subject: RE: Problem with new SAXParser again Aren't the calls to XMLPlatformUtils::Initialize() and XMLPlatformUtils::Terminate() reference counted? So it would be more accurate to say something like [and this is horribly rough] "one should not call XMLPlatformUtils::Initialize() after calling XMLPlatformUtils::Terminate() the same number of times that XMLPlatformUtils::Initialize() has been previously called"? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, November 02, 2001 12:10 PM To: [EMAIL PROTECTED] Subject: Re: Problem with new SAXParser again "Zhang, Jiang(Jason)(SD-EX)" <[EMAIL PROTECTED]> writes: > Hi, everyone, > > I have a problem in creating a SAXParser object in the same process. For > example, > > SAXParser *pParser; > XMLPlatformUtils::Initialize(); > ... > pParser = new SAXParser; // first time succeeded > ... > delete pParser; > XMLPlatformUtils::Terminate(); > ... > XMLPlatformUtils::Initialize(); > ... > pParser = new SAXParser; // second time failed > ... > delete pParser; > XMLPlatformUtils::Terminate(); Unless you are using Xerces-1.5.2 it is illegal to call XMLPlatformUtils::Terminate() twice within a program. Upgrade to 1.5.2 jas. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
