Fixed problem that came up when an object was serialized twice (due to stale XML nodes, etc.)
Fixed problem that came up when an object was serialized twice (due to stale XML nodes, etc.)

git-svn-id: 9e047e1e624cce0a2485e750063112e834f85522@2626 fc29be9c-2cb0-420d-b520-73dbd18add6e

opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core