Re: [Libxmlplusplus-general] Node::remove_child() should delete the Node



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Lundi 9 Décembre 2002 17:26, Murray Cumming a écrit :
> Nodes and attributes should only be created by the libxml++ interfaces,
> so libxml++ should delete Nodes that it forgets about. So
> Node::remove_child(Node* node) should delete the node as well as
> removing it from it's internal list.
>

yep

> Any objection to me committing this, and a similar fix for
> remove_attribute(), along with reference documentation?

nop. The only question I would have is : could we need, in a classical 
utilisation of the lib, the method not to delete the nodes/attribute ?
I personnaly don't think so.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj30ye4ACgkQB+sU3TyOQjCSCQCg5W06CHKaJcbCK9aKRb2dGTWP
/1kAoMoARA7cQdEQ4jIFbA/GNAYrE6ln
=TyXi
-----END PGP SIGNATURE-----





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]