Item rvalue = rseq.itemAt(0);
try {
if (lvalue.getType() == Type.UNTYPED_ATOMIC || lvalue.getType() == Type.ATOMIC)
{lvalue = lvalue.convertTo(Type.NUMBER);}
if (rvalue.getType() == Type.UNTYPED_ATOMIC || rvalue.getType() == Type.ATOMIC)
{rvalue = rvalue.convertTo(Type.NUMBER);}
if (!(lvalue instanceof ComputableValue))
{throw new XPathException(this, ErrorCodes.XPTY0004, "'" +
Type.getTypeName(lvalue.getType()) + "(" + lvalue + ")' can not be an operand for " +
Constants.OPS[operator]);}
if (!(rvalue instanceof ComputableValue))