src/sap.ui.core/src/sap/ui/core/XMLTemplateProcessor.js
function getObjectFallback(oClassObject) {
				// some modules might not return a class definition, so we fallback to the global
				// this is against the AMD definition, but is required for backward compatibility
				if (!oClassObject) {
					Log.error("Control '" + sClassName + "' did not return a class definition from sap.ui.define.", "", "XMLTemplateProcessor");
					oClassObject = ObjectPath.get(sClassName);
				}
				if (!oClassObject) {
					Log.error("Can't find object class '" + sClassName + "' for XML-view", "", "XMLTemplateProcessor");
				}
				return oClassObject;
			}
function getObjectFallback(oClassObject) {
				// some modules might not return a class definition, so we fallback to the global
				// this is against the AMD definition, but is required for backward compatibility
				if (!oClassObject) {
					Log.error("Control '" + sClassName + "' did not return a class definition from sap.ui.define.", "", "XMLTemplateProcessor");
					oClassObject = ObjectPath.get(sClassName);
				}
				if (!oClassObject) {
					Log.error("Can't find object class '" + sClassName + "' for XML-view", "", "XMLTemplateProcessor");
				}
				return oClassObject;
			}
function getObjectFallback ( oClassObject ) { // some modules might not return a class definition, so we fallback to the global // this is against the AMD definition, but is required for backward compatibility if ( ! oClassObject ) { Log . error ( "Control '" + sClassName + "' did not return a class definition from sap.ui.define." , "" , "XMLTemplateProcessor" ) ; oClassObject = ObjectPath . get ( sClassName ) ; } if ( ! oClassObject ) { Log . error ( "Can't find object class '" + sClassName + "' for XML-view" , "" , "XMLTemplateProcessor" ) ; } return oClassObject ; }
ensure that control and library are loaded
ensure that control and library are loaded