+ tempVal.getClass().getName() + " has value "
+ DOMUtils.domToString(tempVal));
retVal = tempVal;
} else if (from instanceof OAssign.Expression) {
List l;
OExpression expr = ((OAssign.Expression) from).expression;
try {
l = getBpelRuntimeContext().getExpLangRuntime().evaluate(expr,
getEvaluationContext());
} catch (EvaluationException e) {
String msg = __msgs.msgEvalException(from.toString(), e
.getMessage());
if (__log.isDebugEnabled())
__log.debug(from + ": " + msg);
if (e.getCause() instanceof FaultException) throw (FaultException)e.getCause();
throw new FaultException(
getOAsssign().getOwner().constants.qnSelectionFailure,
msg);
}
if (l.size() == 0) {
String msg = __msgs.msgRValueNoNodesSelected(expr.toString());
if (__log.isDebugEnabled())
__log.debug(from + ": " + msg);
throw new FaultException(
getOAsssign().getOwner().constants.qnSelectionFailure,
msg);
} else if (l.size() > 1) {
String msg = __msgs.msgRValueMultipleNodesSelected(expr
.toString());
if (__log.isDebugEnabled())
__log.debug(from + ": " + msg);
throw new FaultException(
getOAsssign().getOwner().constants.qnSelectionFailure,