throw new XPathException("Type error: operands are not comparable");
throw new XPathException("Type error: operands are not comparable; expected xs:string; got " + Type.getTypeName(other.getType()));
	public boolean compareTo(int operator, AtomicValue other) throws XPathException {		if (Type.subTypeOf(other.getType(), Type.STRING)) {			int cmp = value.compareTo(other.getStringValue());			switch (operator) {				case Constants.EQ :					return cmp == 0;				case Constants.NEQ :					return cmp != 0;				case Constants.LT :					return cmp < 0;				case Constants.LTEQ :					return cmp <= 0;				case Constants.GT :					return cmp > 0;				case Constants.GTEQ :					return cmp >= 0;				default :					throw new XPathException("Type error: cannot apply operand to string value");			}		}		throw new XPathException("Type error: operands are not comparable");	}