"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]

Reply via email to