Re: [xml] modifying tree and attributes
- From: Rob Richards <rrichards ctindustries net>
- To: veillard redhat com
- Cc: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] modifying tree and attributes
- Date: Thu, 27 Oct 2005 07:14:23 -0400
Daniel Veillard wrote:
I'm just a little puzzled so wanted to get some clarification. Getting a
patch together - so far it stands as (and yes all applicable tests pass
for both libs) : http://www.ctindustries.net/libxml/tree.c.diff.txt
I would say the library should be made as resilient as possible.
Did a search on xmlAddChild to find out why it doesnt perform unlink and
Now, like the changes in my patch, of course the behavior will change
(prevent tree corruption and some memleaks) which is what adding unlink
would do in addchild.
My confusion comes back to the resilient vs. caller responsibility issue.
] [Thread Prev