m_defaultModel = m_document.getXFormModel( modelNames[0] );
final Instance defaultInstance = m_defaultModel.getDefaultInstance();
// remove the default root node
defaultInstance.removeNode( "instanceData" );
// create test structures
XNode stringElement = defaultInstance.createElement( "stringElement" );
XNode booleanAttrib = defaultInstance.createAttribute( stringElement, "booleanAttribute", "true" );
XNode dateAttrib = defaultInstance.createAttribute( stringElement, "dateAttribute" );
assure( "booleanAttrib's parent is wrong",
UnoRuntime.areSame( stringElement, booleanAttrib.getParentNode() ) );