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 Gareth Reakes <ga...@decisionsoft.com> on 2002/09/25 17:40:04 UTC

memory management for attributes

Hi,
	I'm sorting memory management for the XPath node in Pathan2 and 
thought I'd model the attribute way of doing things. I want to confirm 
what I have found out as it seems a touch strange. When you remove and 
element and then release it it deletes all of its children but does not 
delete the attribute nodes. The attribute nodes are still owned by the 
deleted element and so it is not possible to delete them using 
release. Also, it is not possible to remove the node so you can delete it 
because the parent element has gone.
	Is this desired behaviour?

Gareth



-- 
Gareth Reakes, Head of Product Development  
DecisionSoft Ltd.            http://www.decisionsoft.com
Office: +44 (0) 1865 203192



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