DOMNodeList::~DOMNodeList() does not remove instance from cache
---------------------------------------------------------------

         Key: XERCESC-1563
         URL: http://issues.apache.org/jira/browse/XERCESC-1563
     Project: Xerces-C++
        Type: Bug
  Components: DOM  
    Versions: 2.7.0    
 Environment: OS independent, at least Xerces 2.7.0 and trunk 3.0
    Reporter: Ronald Lamprecht


A DOMNodeList retrieved by a getElementsByTagNameNS () call can only be 
"released" by the public ~DOMNodeList() destructor. This destructor just 
deletes the object, but does not remove it from the cache. Any further 
retrieval of a DOMNodeList that describes the same Nodes as the first one is 
answered with the address of the deleted DOMNodeList from the cache instead of 
a new created DOMNodeList! This is of cause a potential source for memory 
access exceptions.

Ronald

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to