[ 
https://issues.apache.org/jira/browse/AXIS2C-677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12522448
 ] 

Samisa Abeysinghe commented on AXIS2C-677:
------------------------------------------

The C implementation of AXIOM is different form that of Java. Hence, it is not 
easy, if not impossible to implement the clone method. This is mainly because 
of hte linked list model that we have in the C implementation.

The workaround for this would be to serialize the tree and use that string to 
create the new tree. This would allow for reuing the same content. Else, you 
have to adopt the method used in echo sample, where you recreate the payload 
with different parameters.

> Clone method required for axiom_node
> ------------------------------------
>
>                 Key: AXIS2C-677
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-677
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: xml/om
>            Reporter: Jamie Lyon
>
> There is no clone method for axiom_node in the current implementation of 
> axiom/c, it should have one as the axiom/java version does.
> Without a clone method, there is no easy way to alter a tree without 
> affecting the original.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to