No, Dinesh, the long email does not answer those issues, but elaborates on what 
I see as a similar issue in axiom_node_detach.  

I did see Samisa’s reply.  He may be seeing more difficulties than I found so 
far, or may be seeing the issues differently.  What I found, in writing a clone 
routine based on the techniques in om_node.c and om_element.c, is that many of 
the underlying attribute and string structures are ref counted.  So it seems 
reasonable that these can be shared without doing a deep copy of these; only 
the node/element/text structures need to be copied.  But the namespace handling 
is a little trickier, as shown in the long message.

Cheers,
Bill

From: Dinesh Premalal [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 14, 2008 12:48 AM
To: Apache AXIS C Developers List
Subject: Re: Issue in using 'detach' for cloning

Hi Bill,
On Feb 14, 2008 11:09 AM, <[EMAIL PROTECTED]> wrote:
Dinesh, I have the beginning of an axiom_node_clone method.  But Kasun has 
raised some issues that I did not have with attribute namespaces, and I think 
my code needs revision, as well as some fixes in om_element.c.

I didn't read your previous mail yet, (Ill read it soon).  Hope you saw 
Samisa's reply regarding cloning axiom node. In that reply he mentioned about 
the difficulty in cloning link lists and etc. Did you able to overcome those 
difficulties ? Please bare with me if your previous mail has answers to my 
question.

thanks,
Dinesh


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to