axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Issue in using 'detach' for cloning
Date Thu, 01 Jan 1970 00:00:00 GMT
I noticed in working on changes to axiom_node_detach to ensure that the namespaces remain valid,
that most of the uses of axiom_node_detach within Axis are followed immediately by an axiom_node_free_tree.
 It seems a shame to incur the overhead of re-declaring the namespaces in the subtree being
detached, just to free them all immediately.  

What do people think of a new combined method, axiom_node_detach_and_free_tree?

Or, alternatively, of expanding axiom_node_free_tree to implicitly detach the tree if it is
attached before freeing it?  (I prefer this choice.)

Either approach would allow the use of an internal detach method that would skip the re-declaration
of the parent namespaces.  


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message