src/sap.ui.core/src/sap/ui/core/util/XMLPreprocessor.js
function (sPath) {
						var oBindingInfo,
							oModel,
							sResolvedPath;

						sPath = sPath || "";
						if (sPath[0] === "{") {
							throw new Error("Must be a simple path, not a binding: " + sPath);
						}
						oBindingInfo = BindingParser.simpleParser("{" + sPath + "}");
						oModel = oWithControl.getModel(oBindingInfo.model);
						if (!oModel) {
							throw new Error("Unknown model '" + oBindingInfo.model + "': " + sPath);
						}
						sResolvedPath = oModel.resolve(oBindingInfo.path,
							oWithControl.getBindingContext(oBindingInfo.model));
						if (!sResolvedPath) {
							throw new Error("Cannot resolve path: " + sPath);
						}
						return oModel.createBindingContext(sResolvedPath);
					}
function (sPath) {
						var oBindingInfo,
							oModel,
							sResolvedPath;

						sPath = sPath || "";
						if (sPath[0] === "{") {
							throw new Error("Must be a simple path, not a binding: " + sPath);
						}
						oBindingInfo = BindingParser.simpleParser("{" + sPath + "}");
						oModel = oWithControl.getModel(oBindingInfo.model);
						if (!oModel) {
							throw new Error("Unknown model '" + oBindingInfo.model + "': " + sPath);
						}
						sResolvedPath = oModel.resolve(oBindingInfo.path,
							oWithControl.getBindingContext(oBindingInfo.model));
						if (!sResolvedPath) {
							throw new Error("Cannot resolve path: " + sPath);
						}
						return oModel.createBindingContext(sResolvedPath);
					}
function ( sPath ) { var oBindingInfo , oModel , sResolvedPath ; sPath = sPath || "" ; if ( sPath [ 0 ] === "{" ) { throw new Error ( "Must be a simple path, not a binding: " + sPath ) ; } oBindingInfo = BindingParser . simpleParser ( "{" + sPath + "}" ) ; oModel = oWithControl . getModel ( oBindingInfo . model ) ; if ( ! oModel ) { throw new Error ( "Unknown model '" + oBindingInfo . model + "': " + sPath ) ; } sResolvedPath = oModel . resolve ( oBindingInfo . path , oWithControl . getBindingContext ( oBindingInfo . model ) ) ; if ( ! sResolvedPath ) { throw new Error ( "Cannot resolve path: " + sPath ) ; } return oModel . createBindingContext ( sResolvedPath ) ; }
Returns the model's context which corresponds to the given simple binding
path. Uses the map of currently known variables.

@param {string} [sPath=""]
A simple binding path which may include a model name ("a variable"), for
example "var>some/relative/path", but not a binding ("{...}")
@returns {sap.ui.model.Context}
The corresponding context which holds the model and the resolved, absolute
path
@throws {Error}
If a binding is given, if the path refers to an unknown model, or if the
path cannot be resolved (typically because a relative path was given for a
model without a binding context)
Returns the model s context which corresponds to the given simple binding path . Uses the map of currently known variables .