if(converter != null){
((AbstractDirectMapping)nextMapping).setConverter(converter);
}
XMLConversionManager xmlConversionManager = (XMLConversionManager) session.getDatasourcePlatform().getConversionManager();
QName schemaType = xmlConversionManager.schemaType(nextMapping.getAttributeClassification());
if(schemaType != null && ((XMLField)nextMapping.getField()).getSchemaType() == null) {
((XMLField)nextMapping.getField()).setSchemaType(schemaType);
}
}else if(nextMapping instanceof XMLObjectReferenceMapping) {