> On Tue, Nov 14, 2006 at 10:02:17AM -0600, David Hagood wrote: >> If I create a xmlNsPtr for a node, and then the node is destroyed, is >> the xmlNsPtr still valid > > No. You must be careful when destroying an element about its subtree. > >> and available for other nodes? If is is invalid, does >> it need to be freed? > > Invalid in an XML context has a very precise meaning related to DTD > validation, I don't see what you mean here. >
It refers to the previous question - if the xmlNodePtr for which the xmlNsPtr is created is destroyed, does the xmlNsPtr need to be freed, or is it implicitly freed when the xmlNodePtr is freed. _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
