axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <bmitch...@austin.rr.com>
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.  

Thanks,
Bill


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


Mime
View raw message