Object updated = ((XMLDescriptor) referenceDescriptor).wrapObjectInXMLRoot(objectValue, next.getNamespaceURI(), next.getLocalName(), next.getPrefix(), false);
if(getConverter() != null) {
updated = getConverter().convertDataValueToObjectValue(updated, session, record.getUnmarshaller());
}
cp.addInto(updated, container, session);
} else if ((referenceDescriptor == null) && (keepAsElementPolicy == UnmarshalKeepAsElementPolicy.KEEP_UNKNOWN_AS_ELEMENT)) {
XMLPlatformFactory.getInstance().getXMLPlatform().namespaceQualifyFragment((Element) next);
objectValue = next;
if(getConverter() != null) {
objectValue = getConverter().convertDataValueToObjectValue(objectValue, session, record.getUnmarshaller());