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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to