[
https://issues.apache.org/jira/browse/WSCOMMONS-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen resolved WSCOMMONS-513.
---------------------------------------
Resolution: Fixed
> Behavior of insertSiblingAfter and insertSiblingBefore is not well defined
> for orphan nodes
> -------------------------------------------------------------------------------------------
>
> Key: WSCOMMONS-513
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-513
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Affects Versions: Axiom 1.2.8
> Reporter: Andreas Veithen
> Assignee: Andreas Veithen
> Priority: Minor
> Fix For: Axiom 1.2.9
>
>
> The behavior of OMNode#insertSiblingAfter and OMNode#insertSiblingBefore is
> not well defined if the node has no parent:
> - LLOM: throws OMException ("Parent can not be null").
> - DOOM in Axiom < 1.2.8: silently accepts the call.
> - DOOM in Axiom 1.2.8: throws NPE (see AXIS2-4514).
> The behavior needs to be clearly specified and made consistent between LLOM
> and DOOM.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.