code: @Override
      protected final Object equivalentValues(Object value) {
          boolean result = equivalentXml(value);
          return result ? Boolean.TRUE : Boolean.FALSE;
      }
docs: XMLObject always compare with any value and equivalentValues
  never returns {@link Scriptable#NOT_FOUND} for them but rather
  calls equivalentXml(value) and wrap the result as Boolean.