XPathDatamodel initialization and assignment fixes