This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Presently the schema editor supports the notion of reordering the children of a component node. This change is affected in the model by copying the children, reordering them in a list, removing the originals from the model, and adding the copies in the new order. This is inefficient since it creates copies of all of the nodes, which is necessary because XDM does not allow re-parenting nodes. A better solution would be to permit reordering of child components in the schema model. This reorder method would take a List representing the component's children in the new order. The reorder method should verify that all of the children are listed to ensure that the only change occurring is their order. Ideally the undoable edit to represent this change would be all-inclusive, in that it would be a single (compound) edit to represent the reordering, although this may be unnecessary.
*** Issue 81620 has been marked as a duplicate of this issue. ***