You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by xe...@xml.apache.org on 2004/07/29 02:44:40 UTC

[jira] Resolved: (XERCESC-183) static XMLStringPool compiled on Borland C++Builder 4 throws exception in destructor

Message:

   The following issue has been resolved as INCOMPLETE.

   Resolver: Alberto Massari
       Date: Wed, 28 Jul 2004 5:44 PM

I guess the objects you have allocated statically are being destroyed after you called Terminate(); you simply cannot have static instances.

Alberto
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XERCESC-183

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XERCESC-183
    Summary: static XMLStringPool compiled on Borland C++Builder 4 throws exception in destructor
       Type: Bug

     Status: Resolved
 Resolution: INCOMPLETE

    Project: Xerces-C++
 Components: 
             Utilities
   Versions:
             1.5.1

   Assignee: 
   Reporter: Aleksander Kowalczyk

    Created: Wed, 29 Aug 2001 3:23 AM
    Updated: Wed, 28 Jul 2004 5:44 PM
Environment: Operating System: Windows NT/2K
Platform: PC

Description:
TraverseSchema has some static XMLStringPool fStringPool object.

I compiled Xerces (and DOMPrint) on C++Builder 4 (big problem...) and it runs,
parses etc. but in destruction throws exception. 
Strange thing that only this static version of XMLStringPool throws it - other
(dynamically allocated in some other place) XMLStringPool object works fine.

problem is delete[] fIdMap; line
but I don't know why - it is NOT null, is allocated (can read, write etc without
throws). Resizing fIdMap (in case it is fullfilled) is not issue because in
tested XML file there are few objects in fIdMap;

I tried comment this line, but it throws in some other place (in deletion of
HashTable); I tried some ugly flag isStatic for the static one, but this not
works also.

If someone has COMPILED and WORKING binary version of Xerces for BCB 4 (VC one
doesn't work) please gimme message - I'll be gratefull


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org