case Constants.LT: return (!value) && otherVal; case Constants.GT: return value && (!otherVal);
	public boolean compareTo(int operator, AtomicValue other) throws XPathException {		if (Type.subTypeOf(other.getType(), Type.BOOLEAN)) {			boolean otherVal = ((BooleanValue) other).getValue();			switch (operator) {				case Constants.EQ :					return value == otherVal;				case Constants.NEQ :					return value != otherVal;				default :					throw new XPathException("Type error: cannot apply this operator to a boolean value");			}		}		throw new XPathException("Type error: cannot convert operand to boolean");	}