OMNode.insertSiblingBefore() for the same node instance, breaks the tree in
silence.
------------------------------------------------------------------------------------
Key: WSCOMMONS-93
URL: http://issues.apache.org/jira/browse/WSCOMMONS-93
Project: WS-Commons
Issue Type: Bug
Components: AXIOM
Environment: Windows
Reporter: Toshiro Takase
Priority: Critical
OMNode a = .....
OMNode b = a;
b.insertSiblingBefore(a);
After this, the next sibling of "a" is "a".
Traversing the tree including this node is infinite loop.....
This is very hard to debug. :(
There are 2 options for this, I think.
(1) Do nothing. It seems that, in DOM, parent.insertBefore(a, a) does nothing.
(2) Throw an exception.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]