On 6/22/06, David Kennedy <[EMAIL PROTECTED]> wrote:
I have a parent node of a nodetype with a childNodeDefinition that allows
same-name siblings. I want to copy one of the children of the parent node
to the same parent (with the same name...just different index). The copy
method does not return the copied node. Is there a better way to get the
copy other than the following?
lock parent
get parent child nodes
get size of child nodes....storing last index
copy child to same parent
get node at stored index + 1
unlock parent
Why doesn't copy return the copied node? Another candidate for an
extension?
this issue is already addressed in jsr-283:
https://jsr-283.dev.java.net/issues/show_bug.cgi?id=33
cheers
stefan
David