[ 
https://issues.apache.org/jira/browse/AXIS2C-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supun Kamburugamuva updated AXIS2C-1132:
----------------------------------------

    Attachment: om_sibling.diff

Here I have attached a diff. Please check weather everything works fine. I will 
commit this if everybody is happy with the changes.

> Siblings should be added only to nodes which has parent nodes
> -------------------------------------------------------------
>
>                 Key: AXIS2C-1132
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1132
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: xml/om
>         Environment: Linux/ Windows
>            Reporter: Supun Kamburugamuva
>            Priority: Minor
>             Fix For: Current (Nightly)
>
>         Attachments: om_sibling.diff
>
>
> axiom_node_insert_sibling_after and axiom_node_insert_sibling_before methods 
> doesn't check weather the siblings are added to a node which has a parent 
> node. With the current implementation if somebody tries to add a sibling to a 
> root node it will be successful but the tree will be incorrect. 

-- 
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