Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1132

Siblings should be added only to nodes which has parent nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • xml/om
    • None
    • Linux/ Windows

    Description

      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.

      Attachments

        1. om_sibling.diff
          1 kB
          Supun Kamburugamuva

        Activity

          People

            supun Supun Kamburugamuva
            supun Supun Kamburugamuva
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: